projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix babeltrace iterator lib: seek at time 0
[babeltrace.git]
/
converter
/
babeltrace.c
diff --git
a/converter/babeltrace.c
b/converter/babeltrace.c
index db8c8d65b0e94975f3f9544e122a4845e8af9f2a..fdbedae5bafcb40a300752428a79fc561824dd00 100644
(file)
--- a/
converter/babeltrace.c
+++ b/
converter/babeltrace.c
@@
-58,7
+58,7
@@
static
void strlower(char *str)
{
while (*str) {
void strlower(char *str)
{
while (*str) {
- *str = tolower(*str);
+ *str = tolower(
(int)
*str);
str++;
}
}
str++;
}
}
@@
-266,7
+266,8
@@
static int parse_options(int argc, char **argv)
break;
case OPT_CLOCK_OFFSET:
{
break;
case OPT_CLOCK_OFFSET:
{
- char *str, *endptr;
+ const char *str;
+ char *endptr;
str = poptGetOptArg(pc);
if (!str) {
str = poptGetOptArg(pc);
if (!str) {
@@
-486,7
+487,7
@@
int main(int argc, char **argv)
}
strlower(opt_input_format);
}
}
strlower(opt_input_format);
}
- if (opt_output_format) {
+ if (opt_output_format
_arg
) {
opt_output_format = strdup(opt_output_format_arg);
if (!opt_output_format) {
partial_error = 1;
opt_output_format = strdup(opt_output_format_arg);
if (!opt_output_format) {
partial_error = 1;
This page took
0.023527 seconds
and
4
git commands to generate.