mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
This corrects the issue raised in pull request #75 that breaks the
compile on clang and probably other finicky compilers (as well as just being wrong).
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ ExtCell(def, outName, doLength)
|
||||
TxError("Cannot open output file: ");
|
||||
perror(filename);
|
||||
#endif
|
||||
return;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
extNumFatal = extNumWarnings = 0;
|
||||
|
||||
@@ -50,6 +50,7 @@ static __inline__ int IHashAlignedSize(int size)
|
||||
int result;
|
||||
/* Expand size to be double-word (64 bit) aligned */
|
||||
result = ((size + 7) / 8) * 8;
|
||||
return result;
|
||||
}
|
||||
|
||||
/* The IHashTable struct should not be manipulated directly by clients */
|
||||
|
||||
Reference in New Issue
Block a user