Fix a bunch of compiler warnings about wrong format types.
[ira/wip.git] / source3 / utils / net_rpc.c
index 9f4470b60d2454bcda632178f9f772c75be5e2e7..4de4bef837a16847319b48e5cdb50cdbd92c5820 100644 (file)
@@ -4088,8 +4088,8 @@ static bool get_user_sids(const char *domain, const char *user, NT_USER_TOKEN *t
 
                wbc_status = wbcGidToSid(gid, &wsid);
                if (!WBC_ERROR_IS_OK(wbc_status)) {
 
                wbc_status = wbcGidToSid(gid, &wsid);
                if (!WBC_ERROR_IS_OK(wbc_status)) {
-                       DEBUG(1, ("winbind could not find SID of gid %d: %s\n",
-                                 gid, wbcErrorString(wbc_status)));
+                       DEBUG(1, ("winbind could not find SID of gid %u: %s\n",
+                                 (unsigned int)gid, wbcErrorString(wbc_status)));
                        wbcFreeMemory(groups);
                        return false;
                }
                        wbcFreeMemory(groups);
                        return false;
                }