Skip to content

Commit

Permalink
fix: wconversion errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Feb 4, 2025
1 parent 978b639 commit eca825f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/unix/c11/z_querier.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ int main(int argc, char **argv) {
size_t ke_len = strlen(ke);
const char *params = strchr(selector, '?');
if (params != NULL) {
ke_len = params - ke;
ke_len = (size_t)(params - ke);
params += 1;
}

Expand All @@ -123,7 +123,7 @@ int main(int argc, char **argv) {

z_querier_options_t opts;
z_querier_options_default(&opts);
opts.timeout_ms = timeout_ms;
opts.timeout_ms = (uint64_t)timeout_ms;

if (z_declare_querier(z_loan(s), &querier, z_loan(keyexpr), &opts) < 0) {
printf("Unable to declare Querier for key expression!\n");
Expand Down

0 comments on commit eca825f

Please sign in to comment.