medfall

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

commit 238cbe8642a3c4e04dfa3ebb261312b97218f7c8
parent 975e4b8539fd6e3ba247529b15a92dc7aaaf3437
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Feb 20 16:34:45 +0000

Fix log warning

Diffstat:
log.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/log.cc b/log.cc @@ -20,7 +20,7 @@ static void log_init() { for( u32 i = 0; i <= LOGLEVEL_COUNT; i++ ) { char path[ 128 ]; - snprintf( path, sizeof( path ), "logs/%llu-%s.log", time( NULL ), names[ i ] ); + snprintf( path, sizeof( path ), "logs/%llu-%s.log", ( long long unsigned int ) time( NULL ), names[ i ] ); streams[ i ] = fopen( path, "w" ); assert( streams[ i ] ); }