summaryrefslogtreecommitdiff
path: root/source4/torture/local/idtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/local/idtree.c')
-rw-r--r--source4/torture/local/idtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/local/idtree.c b/source4/torture/local/idtree.c
index 94463cefa6..d4a81cb567 100644
--- a/source4/torture/local/idtree.c
+++ b/source4/torture/local/idtree.c
@@ -64,7 +64,7 @@ BOOL torture_local_idtree(void)
if (p != NULL) {
printf("non-present at %d gave %p (would be %d)\n",
ii, p,
- (((char *)p) - (char *)(&ids[0])) / sizeof(int));
+ (int)(((char *)p) - (char *)(&ids[0])) / sizeof(int));
ret = False;
}
if (random() % 5) {