diff options
author | Jeremy Allison <jra@samba.org> | 2001-04-27 22:02:23 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-04-27 22:02:23 +0000 |
commit | 5345d9eb57d7d8e1c8b3a4ae17e20ef87c24345d (patch) | |
tree | 7e8d9afdde4efb07ee6c0341b3a043dff13e3031 /source3/lib | |
parent | 9b783398750cbf6e8b6b6bbb76dd393b432403c7 (diff) | |
download | samba-5345d9eb57d7d8e1c8b3a4ae17e20ef87c24345d.tar.gz samba-5345d9eb57d7d8e1c8b3a4ae17e20ef87c24345d.tar.bz2 samba-5345d9eb57d7d8e1c8b3a4ae17e20ef87c24345d.zip |
More %d (uid_t) stuff...
Jeremy.
(This used to be commit 73b425121a8c99af3ed7adbdcff3f6f0cec92ac7)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index 9c97385db3..dc846f1b6f 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -180,7 +180,7 @@ BOOL debug_parse_params(char **params, int *debuglevel_class) /* Allow DBGC_ALL to be specifies w/o requiring its class name e.g."10" * v.s. "all:10", this is the traditional way to set DEBUGLEVEL */ - if (isdigit(params[0][0])) { + if (isdigit((int)params[0][0])) { debuglevel_class[DBGC_ALL] = atoi(params[0]); i = 1; /* start processing at the next params */ } @@ -242,9 +242,9 @@ void debug_message(int msg_type, pid_t src, void *buf, size_t len) /* Set the new DEBUGLEVEL_CLASS array from the pased array */ memcpy(DEBUGLEVEL_CLASS, buf, sizeof(DEBUGLEVEL_CLASS)); - DEBUG(1,("INFO: Debug class %s level = %d (pid %d from pid %d)\n", + DEBUG(1,("INFO: Debug class %s level = %d (pid %u from pid %u)\n", classname_table[DBGC_ALL], - DEBUGLEVEL_CLASS[DBGC_ALL], getpid(), (int)src)); + DEBUGLEVEL_CLASS[DBGC_ALL], (unsigned int)getpid(), (unsigned int)src)); for (i=1; i<DBGC_LAST; i++) { if (DEBUGLEVEL_CLASS[i]) |