medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 47a06212c841b49ab05050058eb6dee79b5fe702
parent 6580d9917f1bc8fbdfbc2eda2c870569b583c8da
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Sep 14 02:42:04 +0100

Windows warning

Diffstat:
intrinsics.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/intrinsics.h b/intrinsics.h @@ -115,7 +115,7 @@ inline void mike_assert( const bool predicate, const char * const message ) { // TODO: this sucks inline u8 * file_get_contents( const char * const path, size_t * const out_len = NULL ) { FILE * const file = fopen( path, "rb" ); - assert( file ); + assert( file != NULL ); fseek( file, 0, SEEK_END ); size_t len = ftell( file );