projects
/
ccan
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools: fixes for 64-bit.
[ccan]
/
tools
/
ccanlint
/
tests
/
examples_compile.c
diff --git
a/tools/ccanlint/tests/examples_compile.c
b/tools/ccanlint/tests/examples_compile.c
index b1798c937f36a4fb14205816183c91a1566b7d97..4f2d2c8a99189b058e7610b101cbcd264dca186c 100644
(file)
--- a/
tools/ccanlint/tests/examples_compile.c
+++ b/
tools/ccanlint/tests/examples_compile.c
@@
-156,7
+156,7
@@
static char *add_func(char *others, const char *line)
}
return talloc_asprintf_append(others, "printf(\"%%p\", %.*s);\n",
-
end - p + 1
, p);
+
(unsigned)(end - p + 1)
, p);
}
static void strip_leading_whitespace(char **lines)