Skip to content

Commit

Permalink
mkdefcfg.pl should spit out an "unsigned char" instead of a "char".
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 30, 2020
1 parent d1f59bc commit db647c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkdefcfg.pl
Expand Up @@ -8,7 +8,7 @@
else { open(INFILE, "<&STDIN"); }
if(defined($outfile)) {open(OUTFILE, ">$outfile"); }
else { open(OUTFILE, ">&STDOUT"); }
print OUTFILE "/* do not edit */\nchar DefaultConfig[] = {\n";
print OUTFILE "/* do not edit */\nunsigned char DefaultConfig[] = {\n";
binmode INFILE; # NT needs this
local($len);
while (($len = read(INFILE, $buf, 256)) > 0) {
Expand Down

0 comments on commit db647c6

Please sign in to comment.