diff options
author | Jeremy Allison <jra@samba.org> | 2000-11-10 21:24:09 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-11-10 21:24:09 +0000 |
commit | 98764c5df9f363780427a423ead0913f7b2a0905 (patch) | |
tree | 39ca4205a330932b856f50f85a8e3818c1cf8b30 /source/tdb | |
parent | b17e23a8ff2b44540726968355a4b7e26f244f3b (diff) | |
download | samba-98764c5df9f363780427a423ead0913f7b2a0905.tar.gz samba-98764c5df9f363780427a423ead0913f7b2a0905.tar.xz samba-98764c5df9f363780427a423ead0913f7b2a0905.zip |
rpc_parse/parse_spoolss.c: Updated comment for old version of W2K.
tdb/tdbutil.c: With varargs uint16 is cast to (int).
Jeremy.
Diffstat (limited to 'source/tdb')
-rw-r--r-- | source/tdb/tdbutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tdb/tdbutil.c b/source/tdb/tdbutil.c index ac7a5e2e909..92b8f9cbfb1 100644 --- a/source/tdb/tdbutil.c +++ b/source/tdb/tdbutil.c @@ -140,7 +140,7 @@ size_t tdb_pack(char *buf, int bufsize, char *fmt, ...) switch ((c = *fmt++)) { case 'w': len = 2; - w = va_arg(ap, uint16); + w = (uint16)va_arg(ap, int); if (bufsize >= len) { SSVAL(buf, 0, w); } |