Skip to content

Commit

Permalink
usrloc: fix build error when ORACLE_USRLOC flag is present
Browse files Browse the repository at this point in the history
  • Loading branch information
GangZhuo authored Nov 6, 2024
1 parent eea7b4e commit 156e9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/usrloc/dlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static int get_domain_db_ucontacts(udomain_t *d, void *buf, int *len,

i = snprintf(query_buf, sizeof query_buf, "select %.*s, %.*s, %.*s,"
#ifdef ORACLE_USRLOC
" %.*s, %.*s, %.*s from %s where %.*s > %lu and mod(contact_id, %u) = %u",
" %.*s, %.*s, %.*s from %s where %.*s > %lld and mod(contact_id, %u) = %u",
#else
" %.*s, %.*s, %.*s from %s where %.*s > %lld and contact_id %% %u = %u",
#endif
Expand Down

0 comments on commit 156e9c6

Please sign in to comment.