mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
Patch for gcc11/RHEL9
This commit is contained in:
committed by
Tim Edwards
parent
b5f2b75768
commit
f354920133
+2
-2
@@ -2829,12 +2829,12 @@ DBCellWriteFile(cellDef, f)
|
||||
|
||||
#define FPRINTF(f,s)\
|
||||
{\
|
||||
if (fprintf(f,s) == EOF) goto ioerror;\
|
||||
if (fputs(s,f) == EOF) goto ioerror;\
|
||||
DBFileOffset += strlen(s);\
|
||||
}
|
||||
#define FPRINTR(f,s)\
|
||||
{\
|
||||
if (fprintf(f,s) == EOF) return 1;\
|
||||
if (fputs(s,f) == EOF) return 1;\
|
||||
DBFileOffset += strlen(s);\
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user