Fix a bunch of compiler warnings about wrong format types.
[ira/wip.git] / source3 / passdb / lookup_sid.c
index a5c2d503662da13ea85d4445f7d7a144be577844..c1249f5eb4fa05fe94bcfa8161ac88429ab298aa 100644 (file)
@@ -1319,7 +1319,7 @@ void uid_to_sid(DOM_SID *psid, uid_t uid)
                         * the next time we ask.
                         */
                        DEBUG(5, ("uid_to_sid: winbind failed to find a sid "
-                                 "for uid %u\n", uid));
+                                 "for uid %u\n", (unsigned int)uid));
 
                        legacy_uid_to_sid(psid, uid);
                        return;
@@ -1372,7 +1372,7 @@ void gid_to_sid(DOM_SID *psid, gid_t gid)
                         * the next time we ask.
                         */
                        DEBUG(5, ("gid_to_sid: winbind failed to find a sid "
-                                 "for gid %u\n", gid));
+                                 "for gid %u\n", (unsigned int)gid));
 
                        legacy_gid_to_sid(psid, gid);
                        return;