Skip to content

Commit

Permalink
Add missing cast to silence compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed May 18, 2024
1 parent c4c7d23 commit 56d2c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normal.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ static int normal_get_nonce_by_key(struct idevicerestore_client_t* client, const
}

uint64_t n_size = 0;
plist_get_data_val(nonce_node, nonce, &n_size);
plist_get_data_val(nonce_node, (char**)nonce, &n_size);
*nonce_size = (unsigned int)n_size;
plist_free(nonce_node);

Expand Down

0 comments on commit 56d2c01

Please sign in to comment.