Skip to content

Commit

Permalink
fix: wconversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Jul 11, 2024
1 parent 69213f3 commit 7db077a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/unix/c11/z_pub_attachment.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ int main(int argc, char **argv) {
// Create timestamp
z_timestamp_t ts;
time_t now = time(NULL);
z_timestamp_new(&ts, z_loan(s), now);
z_timestamp_new(&ts, z_loan(s), (uint64_t)now);

// Publish data
printf("Press CTRL-C to quit...\n");
Expand Down

0 comments on commit 7db077a

Please sign in to comment.