Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Sep 12, 2024
1 parent 6fd7ad8 commit 73d0b4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/z_api_liveliness.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ typedef struct context_t {
const char* token1_expr = "zenoh/liveliness/test/1";
const char* token2_expr = "zenoh/liveliness/test/2";

void on_receive(const z_loaned_sample_t* s, void* context) {
void on_receive(z_loaned_sample_t* s, void* context) {
context_t* c = (context_t*)context;
const z_loaned_keyexpr_t* k = z_sample_keyexpr(s);
z_view_string_t ks;
Expand Down
2 changes: 1 addition & 1 deletion tests/z_int_pub_cache_query_sub_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ int run_publisher() {
return 0;
}

void data_handler(const z_loaned_sample_t *sample, void *arg) {
void data_handler(z_loaned_sample_t *sample, void *arg) {
static int val_num = 0;
z_view_string_t keystr;
z_keyexpr_as_view_string(z_sample_keyexpr(sample), &keystr);
Expand Down

0 comments on commit 73d0b4b

Please sign in to comment.