Permalink
Browse files

Another fix for 32-bit systems

  • Loading branch information...
1 parent f015d4f commit ed98fabb10193fe7fcdf68da92d15d9124c37c92 @keithw committed Jan 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 term-save.cpp
View
@@ -45,7 +45,7 @@ uint64_t micro_timestamp( void )
void record_string( int log_fd, char *buf, ssize_t num, const char *tag )
{
char message[ 2048 ];
- int len = snprintf( message, 2048, "%lld %s %ld\n", (long long)micro_timestamp(), tag, num );
+ int len = snprintf( message, 2048, "%lld %s %ld\n", (long long)micro_timestamp(), tag, (long)num );
assert( len >= 0 );
assert( len < 2048 );

0 comments on commit ed98fab

Please sign in to comment.