about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/init.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a843213e6..c92ed4c79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-30  Bart Schaefer  <schaefer@zsh.org>
+
+	* 11032: Src/init.c: Fix signed-ness problem reported by OPK.
+
 2000-04-30  Oliver Kiddle  <opk@zsh.org>
 
 	* 11031: Src/math.c, Src/glob.c, Src/module.c, Src/Zle/compcore.c
diff --git a/Src/init.c b/Src/init.c
index e5972184c..ac62b481a 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -905,7 +905,7 @@ source(char *s)
     int oldshst, osubsh, oloops;
     FILE *obshin;
     char *old_scriptname = scriptname, *us;
-    char *ocs;
+    unsigned char *ocs;
     int ocsp;
 
     if (!s ||