summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/bin-to-hex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/bin-to-hex.c b/util/bin-to-hex.c
index 5906f93..48a71e7 100644
--- a/util/bin-to-hex.c
+++ b/util/bin-to-hex.c
@@ -6,7 +6,7 @@ int main(int argc, char **argv)
int i;
const char *name = argv[1];
printf("#include <stddef.h>\n");
- printf("const unsigned char %s[] = {\n", name);
+ printf("const char %s[] = {\n", name);
i = 0;
while((c = getchar()) != EOF) {
if ((i % 16) != 0) {