diff options
author | 2009-04-27 09:18:17 +0000 | |
---|---|---|
committer | 2009-04-27 09:18:17 +0000 | |
commit | 9eb86548bbb847ca2fc01f04fc3a4caa3568aefe (patch) | |
tree | 7bc8d0a67746251f1ec2dc38d52a1e8da5c381be /src/build/file2str.c | |
parent | 5d4816b66528f07a78ce8470413c524cbb57c799 (diff) |
Added missing casts and made other tweaks. The entire project
can now be optionally compiled with the C++ compiler (mingw g++
only for the moment; MSVC still has issues).
Diffstat (limited to 'src/build/file2str.c')
-rw-r--r-- | src/build/file2str.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build/file2str.c b/src/build/file2str.c index e7a44742892..7e2ae02746c 100644 --- a/src/build/file2str.c +++ b/src/build/file2str.c @@ -80,6 +80,7 @@ int main(int argc, char *argv[]) } /* write the initial header */ + fprintf(dst, "extern const %s %s[];\n", type, varname); fprintf(dst, "const %s %s[] =\n{\n\t", type, varname); /* write out the data */ |