svn commit: samba r16841 - in trunk/source/sam: .
vlendec at samba.org
vlendec at samba.org
Thu Jul 6 20:10:25 GMT 2006
Author: vlendec
Date: 2006-07-06 20:10:23 +0000 (Thu, 06 Jul 2006)
New Revision: 16841
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16841
Log:
Fix a bug found by a 64-bit build warning
Modified:
trunk/source/sam/idmap_tdb.c
Changeset:
Modified: trunk/source/sam/idmap_tdb.c
===================================================================
--- trunk/source/sam/idmap_tdb.c 2006-07-06 19:30:37 UTC (rev 16840)
+++ trunk/source/sam/idmap_tdb.c 2006-07-06 20:10:23 UTC (rev 16841)
@@ -381,7 +381,7 @@
DEBUG(10,("db_get_sid_from_id: sid %s reverse mapping mismatch "
"tmp_id_type = %u, id_type = %u\n",
sid_string_static(sid),
- (unsigned int)tmp_id_type, (unsigned int)id_type ));
+ (unsigned int)tmp_id_type, (unsigned int)(*id_type) ));
return NT_STATUS_NO_SUCH_USER;
}
@@ -391,7 +391,7 @@
DEBUG(10,("db_get_sid_from_id: sid %s reverse mapping SID mismatch"
"id = %u, id_type = %u\n",
sid_string_static(sid),
- (unsigned int)id->uid, (unsigned int)id_type ));
+ (unsigned int)id->uid, (unsigned int)(*id_type) ));
return NT_STATUS_NO_SUCH_USER;
}
}
More information about the samba-cvs
mailing list