Replace sizeof( bool ) with sizeof( char )

sizeof( bool ) evaluates to 4 on ppc32
This commit is contained in:
SiliconExarch 2021-08-25 14:28:19 +01:00 committed by GitHub
parent 78eef43d50
commit e17a9f9448
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ idLib::Init
*/
void idLib::Init( void ) {
assert( sizeof( bool ) == 1 );
assert( sizeof( char ) == 1 );
// assumptions from the scripting compiler/interpreter
assert( sizeof( float ) == sizeof( int ) );