Compile error with HEAD
Mayers, Philip J
p.mayers at ic.ac.uk
Sun Nov 5 16:24:12 GMT 2000
Just an FYI:
Compiling tdb/tdb.c
Compiling tdb/tdbutil.c
tdb/tdbutil.c: In function `tdb_pack':
tdb/tdbutil.c:143: `short unsigned int' is promoted to `int' when passed
through `...'
tdb/tdbutil.c:143: (so you should pass `int' not `short unsigned int' to
`va_arg')
make: *** [tdb/tdbutil.o] Error 1
If I change:
w = va_arg(ap, uint16);
to
w = va_arg(ap, uint);
Everything compiles and appears to work normally. This is on stock RedHat
7.0 (intel i686)
Regards,
Phil
+----------------------------------+
| Phil Mayers, Network Support |
| Centre for Computing Services |
| Imperial College |
+----------------------------------+
More information about the samba-technical
mailing list