summaryrefslogtreecommitdiff
path: root/source4/libcli/namequery.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/namequery.c')
-rw-r--r--source4/libcli/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/namequery.c b/source4/libcli/namequery.c
index 18d1ce3e93..0094cc26bb 100644
--- a/source4/libcli/namequery.c
+++ b/source4/libcli/namequery.c
@@ -37,7 +37,7 @@ static int generate_trn_id(void)
trn_id = sys_random();
- return trn_id % (unsigned)0x7FFF;
+ return trn_id % (uint_t)0x7FFF;
}