projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b17ea0
)
uuid plugin: Pass `int' to `isxdigit'.
author
Doug MacEachern
<dougm@hyperic.com>
Wed, 6 May 2009 08:42:01 +0000
(10:42 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Wed, 6 May 2009 08:42:01 +0000
(10:42 +0200)
Fixes compilation on NetBSD and possibly other systems.
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/uuid.c
patch
|
blob
|
history
diff --git
a/src/uuid.c
b/src/uuid.c
index
e0de0d9
..
cf23f5b
100644
(file)
--- a/
src/uuid.c
+++ b/
src/uuid.c
@@
-55,7
+55,7
@@
looks_like_a_uuid (const char *uuid)
return 0;
while (*uuid) {
- if (!isxdigit (*uuid) && *uuid != '-') return 0;
+ if (!isxdigit (
(int)
*uuid) && *uuid != '-') return 0;
uuid++;
}
return 1;