1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

rpc_parse/parse_spoolss.c: Updated comment for old version of W2K.

tdb/tdbutil.c: With varargs uint16 is cast to (int).
Jeremy.
(This used to be commit 98764c5df9f363780427a423ead0913f7b2a0905)
This commit is contained in:
Jeremy Allison 2000-11-10 21:24:09 +00:00
parent c1900772ce
commit 6cc6a4f3f3
2 changed files with 4 additions and 1 deletions

View File

@ -4341,6 +4341,9 @@ BOOL spool_io_printer_driver_info_level_6(char *desc, SPOOL_PRINTER_DRIVER_INFO_
if(!prs_uint32("version", ps, depth, &il->version))
return False;
#if 0
/*
* Older build versions of W2K seem to need this. JRA.
*/
if(!prs_uint32("dummy4", ps, depth, &il->dummy4))
return False;
#endif

View File

@ -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);
}