summaryrefslogtreecommitdiff
path: root/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'log.h')
-rw-r--r--log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/log.h b/log.h
index 6fd3235..8c5e94c 100644
--- a/log.h
+++ b/log.h
@@ -4,7 +4,7 @@
int log_init( server_config_t *sc, log_file_t *lf ){
if ( strcmp((const char*)sc->log_enabled->valuestring, "no") == 0 )
return LOG_INIT_SUCCESS;
- if ( sc->log_file == NULL || (long long int)strlen(sc->log_file->valuestring) <= 0 )
+ if ( sc->log_file == NULL || (int64_t)strlen(sc->log_file->valuestring) <= 0 )
return LOG_INIT_FAILED;
lf->log_file = fopen( sc->log_file->valuestring, "a" );
if ( lf->log_file == NULL )