File: strlen-size

package info (click to toggle)
libauthen-sasl-xs-perl 1.00-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 400 kB
  • sloc: perl: 241; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Fix type mismatches on 64-bit platforms
Author: Russ Allbery <rra@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2023-10-25

Change the data types used in the XS code for the module to ensure data
types match Perl's expectations on 64-bit platforms.

Note:
(libauthen-sasl-xs-perl is the successor of libauthen-sasl-cyrus-perl)
Most of the original changes are applied upstream, one remains.
[gregor 2023-10-25]

--- a/XS.xs
+++ b/XS.xs
@@ -946,7 +946,7 @@
 {
 	char *key;
 	int count=0,i;
-	long l;
+	I32 l;
 #ifndef SASL2
 	// Missing SASL1 canonuser workaround
 	int canon=-1,auth=-1;