Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: crypto.c

Issue 6298020: Fix pointer to integer cast warning. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cbootimage.git@master
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto.c
diff --git a/crypto.c b/crypto.c
index e5ade76cb5acf8348c35e0f686fa7079052e004b..c4150766fded77ca0ba123a76067d695ad10a514 100644
--- a/crypto.c
+++ b/crypto.c
@@ -60,7 +60,7 @@ print_vector(char *name, u_int32_t num_bytes, u_int8_t *data)
{
u_int32_t i;
- printf("%s [%d] @0x%08x", name, num_bytes, (u_int32_t)data);
+ printf("%s [%d] @%p", name, num_bytes, data);
for (i=0; i<num_bytes; i++) {
if ( i % 16 == 0 )
printf(" = ");
@@ -300,4 +300,3 @@ sign_bct(build_image_context *context,
free(hash_buffer);
return e;
}
-
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698