diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2013-11-12 12:00:53 +0100 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2013-11-12 12:00:53 +0100 |
commit | 6ae2e9dc5f958113bb4eff04a64666bc889d2735 (patch) | |
tree | 86a0fe311af3ed446ee154f51a9ae976f3226fb0 /examples | |
parent | 61930f71816cc2d1ecb3f16873dd5d955d70a705 (diff) | |
download | v-usb-6ae2e9dc5f958113bb4eff04a64666bc889d2735.tar.gz v-usb-6ae2e9dc5f958113bb4eff04a64666bc889d2735.tar.bz2 v-usb-6ae2e9dc5f958113bb4eff04a64666bc889d2735.zip |
Fixed compiler warning (mixing signed/unsigned pointers)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/drivertest/commandline/runtest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/drivertest/commandline/runtest.c b/examples/drivertest/commandline/runtest.c index 1e7702e..3d04421 100644 --- a/examples/drivertest/commandline/runtest.c +++ b/examples/drivertest/commandline/runtest.c @@ -21,9 +21,10 @@ General Description: #define uchar unsigned char -static void hexdump(uchar *buffer, int len, FILE *fp) +static void hexdump(char *_buffer, int len, FILE *fp) { int i; +uchar *buffer = (uchar *)_buffer; for(i = 0; i < len; i++){ if(i != 0){ |