Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
borzacchiello committed Jun 13, 2022
1 parent 332e6f7 commit ca4528e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions librz/util/str_search.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ static inline bool is_c_escape_sequence(char ch) {
return strchr("\b\v\f\n\r\t\a\033\\", ch);
}

static UTF8StringInfo calculate_utf8_string_info(ut8* str, int size) {
static UTF8StringInfo calculate_utf8_string_info(ut8 *str, int size) {
UTF8StringInfo res = {
.num_ascii = 0,
.num_ascii = 0,
.num_ascii_extended = 0,
.num_chars = 0
.num_chars = 0
};

const ut8 *str_ptr = str;
Expand Down Expand Up @@ -129,7 +129,7 @@ static FalsePositiveResult reduce_false_positives(const RzUtilStrScanOptions *op
case RZ_STRING_ENC_UTF16BE:
case RZ_STRING_ENC_UTF32BE: {
int num_blocks = 0;
int* block_list = rz_utf_block_list((const ut8 *)str, size - 1, NULL);
int *block_list = rz_utf_block_list((const ut8 *)str, size - 1, NULL);
if (block_list) {
for (i = 0; block_list[i] != -1; i++) {
num_blocks++;
Expand Down

0 comments on commit ca4528e

Please sign in to comment.