Skip to content

Commit 1f99823

Browse files
committed
usrloc: fix build error when ORACLE_USRLOC flag is present
1 parent 03f7854 commit 1f99823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/usrloc/dlist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ static int get_domain_db_ucontacts(udomain_t *d, void *buf, int *len,
151151

152152
i = snprintf(query_buf, sizeof query_buf, "select %.*s, %.*s, %.*s,"
153153
#ifdef ORACLE_USRLOC
154-
" %.*s, %.*s, %.*s from %s where %.*s > %lu and mod(contact_id, %u) = %u",
154+
" %.*s, %.*s, %.*s from %s where %.*s > %lld and mod(contact_id, %u) = %u",
155155
#else
156156
" %.*s, %.*s, %.*s from %s where %.*s > %lld and contact_id %% %u = %u",
157157
#endif

0 commit comments

Comments
 (0)