Navigation Menu

Skip to content

Commit

Permalink
suppress a warning about context ID.
Browse files Browse the repository at this point in the history
Based on patch by @issm. Thanks!!!
  • Loading branch information
kou committed Jun 9, 2011
1 parent c3f1266 commit e0ca429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cc
Expand Up @@ -116,7 +116,7 @@ void mrn_logger_func(int level, const char *time, const char *title,
if (mrn_logfile_opened) {
pthread_mutex_lock(&mrn_log_mutex);
fprintf(mrn_logfile, "%s|%c|%08x|%s\n", time,
*(slev + level), pthread_self(), msg);
*(slev + level), (uint)(ulong)pthread_self(), msg);
fflush(mrn_logfile);
pthread_mutex_unlock(&mrn_log_mutex);
}
Expand Down

0 comments on commit e0ca429

Please sign in to comment.