Skip to content

Commit

Permalink
style: run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Oct 24, 2023
1 parent dc51e95 commit d937702
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/z_modular_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ void query_handler(const z_query_t *query, void *ctx) {
}
z_query_reply_options_t options = z_query_reply_options_default();
options.encoding = z_encoding(Z_ENCODING_PREFIX_TEXT_PLAIN, NULL);
z_query_reply(query, z_keyexpr(queryable_keyexpr), (const unsigned char *)queryable_value, strlen(queryable_value), &options);
z_query_reply(query, z_keyexpr(queryable_keyexpr), (const unsigned char *)queryable_value, strlen(queryable_value),
&options);
z_drop(z_move(keystr));
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion tests/z_msgcodec_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ _z_bytes_t gen_bytes(size_t len) {

arr.start = (uint8_t *)z_malloc(sizeof(uint8_t) * len);
for (_z_zint_t i = 0; i < len; i++) {
((uint8_t *)arr.start)[i] = gen_uint8() & 0x7f; // 0b01111111
((uint8_t *)arr.start)[i] = gen_uint8() & 0x7f; // 0b01111111
}

return arr;
Expand Down

0 comments on commit d937702

Please sign in to comment.