mirror of https://github.com/odrling/Aegisub
Write the bytes as unsigned chars rather than signed in respack, as the array is declared as unsigned
Originally committed to SVN as r6649.
This commit is contained in:
parent
4bb707d663
commit
a679d91304
|
@ -103,7 +103,7 @@ int main(int argc, const char *argv[]) {
|
|||
|
||||
while (ifp_i != eof) {
|
||||
if (length > 0) file_cpp << ",";
|
||||
file_cpp << (int)*ifp_i;
|
||||
file_cpp << (unsigned int)(unsigned char)*ifp_i;
|
||||
|
||||
++ifp_i;
|
||||
length++;
|
||||
|
|
Loading…
Reference in New Issue