Permalink
Browse files

All instances of get_program_code() need to return unsigned char *

  • Loading branch information...
1 parent a39d99f commit 4b167c12984cba51723b74287a908be42cfacee0 @petdance petdance committed Mar 21, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 tools/dev/pbc_to_exe.pir
View
@@ -90,7 +90,7 @@ HEADER
initargs->gc_system = GCCORE;
- program_code_addr = (const unsigned char *)get_program_code();
+ program_code_addr = get_program_code();
if (!program_code_addr)
exit(EXIT_FAILURE);
@@ -434,7 +434,7 @@ HELP
print outfh, $S0
print outfh, ";\n"
print outfh, <<'END_OF_FUNCTION'
- const void * get_program_code(void)
+ const unsigned char * get_program_code(void)
{
return program_code;
}
@@ -627,7 +627,7 @@ END_OF_DEFINES
print outfh, ";\n"
print outfh, <<'END_OF_FUNCTION'
- const void * get_program_code(void)
+ const unsigned char * get_program_code(void)
{
HRSRC hResource;
DWORD size;

0 comments on commit 4b167c1

Please sign in to comment.