summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b17ea0)
raw | patch | inline | side by side (parent: 5b17ea0)
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>
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 e0de0d9b314ed53575b7e5f00b08921a03834642..cf23f5b37eea4e6505f62cb8ac37c65def408a07 100644 (file)
--- a/src/uuid.c
+++ b/src/uuid.c
return 0;
while (*uuid) {
- if (!isxdigit (*uuid) && *uuid != '-') return 0;
+ if (!isxdigit ((int)*uuid) && *uuid != '-') return 0;
uuid++;
}
return 1;