Cleanup: type warnings
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 29 May 2012 21:04:20 +0000 (17:04 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 29 May 2012 21:04:20 +0000 (17:04 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
converter/babeltrace.c

index db8c8d65b0e94975f3f9544e122a4845e8af9f2a..55d89c895a47c0df8cb78bb48d9259bc4c3054d3 100644 (file)
@@ -58,7 +58,7 @@ static
 void strlower(char *str)
 {
        while (*str) {
-               *str = tolower(*str);
+               *str = tolower((int) *str);
                str++;
        }
 }
@@ -266,7 +266,8 @@ static int parse_options(int argc, char **argv)
                        break;
                case OPT_CLOCK_OFFSET:
                {
-                       char *str, *endptr;
+                       const char *str;
+                       char *endptr;
 
                        str = poptGetOptArg(pc);
                        if (!str) {
This page took 0.033626 seconds and 4 git commands to generate.