]> thyrsus.com Git - intercal.git/commitdiff
Fix the signedness of ick_iffi_befungeString.
authorArvid Norlander <anmaster@tele2.se>
Fri, 21 Nov 2008 14:03:03 +0000 (09:03 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 26 Aug 2010 00:35:27 +0000 (20:35 -0400)
etc/IFFI/IFFI.c
etc/IFFI/IFFI.h
pit/explib/ecto_b98.c
src/perpet.c

index d6324b8b777d7e55571f24dfbf5ea51b209b70bc..86c8fe1a7cf2bb75851a33f0f8adcddc47ced1de 100644 (file)
@@ -62,7 +62,7 @@ void ick_interpreter_run(void)
                perror("Couldn't create funge space!?");
                exit(EXIT_FAILURE);
        }
-       fungespace_load_string((const unsigned char*)ick_iffi_befungeString);
+       fungespace_load_string(ick_iffi_befungeString);
        iffiIP = ip_create();
        if (iffiIP == NULL) {
                perror("Couldn't create instruction pointer!?");
index 60707cbc16f871cdeb695742d567a1d4879756b8..ffd7a9d863a48b513d6decf777fac009832cdc2f 100644 (file)
@@ -65,7 +65,7 @@ extern int ick_iffi_breakloop;
 extern int ick_iffi_inmarkmode;
 
 // Communication variables with the compiled .cio file
-extern const char * ick_iffi_befungeString;
+extern const unsigned char * ick_iffi_befungeString;
 
 // Communication variables with the runtime library
 extern int ick_printflow;
index 936b30b2a17fd68829d4788a9f2148b98a6823e6..1b652c5ad0d9503ec1569d33258a5cc8ad30149d 100644 (file)
@@ -87,7 +87,7 @@ uint32_t ick_iffi_linelabel=0;
 int ick_iffi_breakloop=0; /* becomes 1 when IFFI's loaded or mark-mode ends */
 int ick_iffi_inmarkmode=0;
 
-extern const char* ick_iffi_befungeString;
+extern const unsigned char* ick_iffi_befungeString;
 extern long long ick_iffi_markerposns[][2];
 extern int ick_iffi_markercount;
 
index 2c9d32cdf1c9b66602321f6e632eb1a00f66f471..468c95fbd4bfa75e5a8ea04416bde2fb707f8c20 100644 (file)
@@ -526,7 +526,7 @@ static void handle_befunge98(char *libbuf, size_t libbuf_size,
   if(!((of = ick_debfopen(outputfilename,"w"))))
     ick_lose(IE888,-1,(const char *)NULL);
 
-  fprintf(of,"const char* ick_iffi_befungeString=\n\"");
+  fprintf(of,"const unsigned char* ick_iffi_befungeString=\n\"");
 
   x=0; y=0; jlb=0;
   for(;;)