summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r--source4/torture/libnet/userman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c
index 16e169f6d2..521ad9981c 100644
--- a/source4/torture/libnet/userman.c
+++ b/source4/torture/libnet/userman.c
@@ -250,10 +250,10 @@ static bool test_userdel(struct torture_context *tctx,
if (timeval_compare(&t, mod->in.change.fld)) { \
torture_comment(tctx, "'%s' field does not match\n", #fld); \
torture_comment(tctx, "received: '%s (+%ld us)'\n", \
- timestring(mem_ctx, t.tv_sec), t.tv_usec); \
+ timestring(mem_ctx, t.tv_sec), (long)t.tv_usec); \
torture_comment(tctx, "expected: '%s (+%ld us)'\n", \
timestring(mem_ctx, mod->in.change.fld->tv_sec), \
- mod->in.change.fld->tv_usec); \
+ (long)mod->in.change.fld->tv_usec); \
return false; \
} \
}