summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-12-11 18:17:36 +0100
committerChristian Pointner <equinox@spreadspace.org>2012-12-11 18:17:36 +0100
commit85bd1827cc6368644e088042f29194b438b041d9 (patch)
treeddf3ca5682ae431300404fada3904f7fce4e906d /tools
parentupdated configure to use git instead of svn (diff)
added support for clang
fixed issues with gcc -Wall
Diffstat (limited to 'tools')
-rw-r--r--tools/bin2c.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bin2c.lua b/tools/bin2c.lua
index 6a6eefb..879c783 100644
--- a/tools/bin2c.lua
+++ b/tools/bin2c.lua
@@ -51,9 +51,9 @@ io.write([=[
#include "datatypes.h"
-const uint8_t ]=] , c_var_name, [=[[]={
+const char ]=] , c_var_name, [=[[]={
]=], dump(content), [=[
};
-const uint32_t ]=] , c_var_name, [=[_len = sizeof(]=] , c_var_name, [=[);
+const size_t ]=] , c_var_name, [=[_len = sizeof(]=] , c_var_name, [=[);
]=])