Fix warning on 64 bit platforms.

This commit is contained in:
brectanus
2007-10-23 22:18:43 +00:00
parent 05b8934eaf
commit 3bed113247

View File

@@ -161,7 +161,7 @@ apr_table_t *collection_retrieve(modsec_rec *msr, const char *col_name,
}
/* NOTE: No rate if there has been no time elapsed */
td = (apr_time_sec(apr_time_now()) - create_time);
td = (int)(apr_time_sec(apr_time_now()) - create_time);
if (td == 0) {
var->value = apr_psprintf(msr->mp, "%i", 0);
}