diff options
author | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-02-02 14:42:02 +1100 |
commit | 3fb7c2ba7a96ac3a76795632369464acc6c1a776 (patch) | |
tree | 1c9ad819f6c6fc456d0637c5f84ee22fcbf1bbaf /util | |
parent | 77ee5cf2143417ca19c1dd981abcd016579f0cd9 (diff) |
Make purgatory a signed char buffer
The consumer of the purgatory buffer, elf_rel_build_load()
expects a signed char buffer.
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'util')
-rw-r--r-- | util/bin-to-hex.c | 2 |
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) { |