It seems a cast of time_t is needed for i386 system to avoid a
crash. I've added a cast to uint64_t that should be ok on all
Linux system.
Reported-by: netfilter@openenterprise.co.uk
prefix_ce(upi->config_kset).u.string,
(char *)ikey_get_ptr(&inp[KEY_SUM_NAME]),
ikey_get_u64(&inp[KEY_SUM_PKTS]),
- now,
+ (uint64_t) now,
prefix_ce(upi->config_kset).u.string,
(char *)ikey_get_ptr(&inp[KEY_SUM_NAME]),
ikey_get_u64(&inp[KEY_SUM_BYTES]),
- now
+ (uint64_t) now
);
if (msg_size == -1) {
ulogd_log(ULOGD_ERROR, "Could not create message\n");