Compile error with HEAD

Mayers, Philip J p.mayers at
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
make: *** [tdb/tdbutil.o] Error 1

If I change:

w = va_arg(ap, uint16);


w = va_arg(ap, uint);

Everything compiles and appears to work normally. This is on stock RedHat
7.0 (intel i686)


| Phil Mayers, Network Support     |
| Centre for Computing Services    |
| Imperial College                 |

More information about the samba-technical mailing list