- GCC ARM64 Support, i.e. natively compiled with gcc on arm64
This commit is contained in:
@@ -1040,7 +1040,7 @@ bool file::putc(char c) {
|
||||
}
|
||||
|
||||
int res;
|
||||
if ((res = fputc(c, _handle)) != c && res != EOF) {
|
||||
if ((char)(res = fputc(c, _handle)) != c && res != EOF) {
|
||||
_error = strerror(errno);
|
||||
return true;
|
||||
}
|
||||
@@ -1058,7 +1058,7 @@ bool file::putwc(wchar_t c) {
|
||||
}
|
||||
|
||||
int res;
|
||||
if ((res = fputc(c, _handle)) != c && res != EOF) {
|
||||
if ((wchar_t)(res = fputwc(c, _handle)) != c && res != EOF) {
|
||||
_error = strerror(errno);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user