diff options
author | Anton Staaf <robotboy@chromium.org> | 2011-01-28 11:19:05 -0800 |
---|---|---|
committer | Anton Staaf <robotboy@chromium.org> | 2011-01-28 11:19:05 -0800 |
commit | 9d467bfed696144c4023f66baf5cfa2c0bdc3750 (patch) | |
tree | 098eb3db898cf4cb2de68d6e757a85bda88bc40f | |
parent | a5e100250148eb5ca3a8de06b4f136f8097c8d23 (diff) | |
download | nvidia-cbootimage-9d467bfed696144c4023f66baf5cfa2c0bdc3750.tar.gz |
Fix pointer to integer cast warning.
Change-Id: I149b901885ab09260b0d9c7d82f41a41397d4b44
BUG=None
TEST=build and observe no compiler warnings.
Review URL: http://codereview.chromium.org/6298020
-rw-r--r-- | crypto.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } - |