diff options
author | Herb Lewis <herb@samba.org> | 2003-08-15 02:28:13 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2003-08-15 02:28:13 +0000 |
commit | 937041e3fdb41f9b6735564f26de60ba2f124e08 (patch) | |
tree | 895775632d2cb08b4b5cf73b99dca2b7bca3d67e /source3/lib | |
parent | 0fc41a8962e86f477891e26c784ded81af75794a (diff) | |
download | samba-937041e3fdb41f9b6735564f26de60ba2f124e08.tar.gz samba-937041e3fdb41f9b6735564f26de60ba2f124e08.tar.bz2 samba-937041e3fdb41f9b6735564f26de60ba2f124e08.zip |
get rid of compiler warnings
(This used to be commit ae25e7746e87409aae554d390753c7a3e3717052)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 2 | ||||
-rw-r--r-- | source3/lib/util_sid.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index efad01166e..5f4fae9baa 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -311,7 +311,7 @@ BOOL in_group(gid_t group, gid_t current_gid, int ngroups, const gid_t *groups) static const char *Atoic(const char *p, int *n, const char *c) { - if (!isdigit((const int)*p)) { + if (!isdigit((int)*p)) { DEBUG(5, ("Atoic: malformed number\n")); return NULL; } diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index 00f14d7d26..fbb393770d 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -93,7 +93,7 @@ static const struct { {SID_NAME_UNKNOWN, "UNKNOWN"}, {SID_NAME_COMPUTER, "Computer"}, - {0, NULL} + {(enum SID_NAME_USE)0, NULL} }; const char *sid_type_lookup(uint32 sid_type) |