# HG changeset patch # User Christian Taedcke # Date 1296146748 -3600 # Node ID fc9af616633d9cc13396d92b3aac998615d70422 # Parent e2d0c5251fbd1a3cf1dc19da1e20489733b7b88d FIXED: - compiler warning from printf format string diff -r e2d0c5251fbd -r fc9af616633d drivers/can_virtual/can_virtual.c --- a/drivers/can_virtual/can_virtual.c Fri Feb 19 15:52:59 2010 +0100 +++ b/drivers/can_virtual/can_virtual.c Thu Jan 27 17:45:48 2011 +0100 @@ -55,7 +55,7 @@ { int i; - printf("%x->[ ", (CANPipe*)fd0 - &canpipes[0]); + printf("%lx->[ ", (CANPipe*)fd0 - &canpipes[0]); for(i=0; i < MAX_NB_CAN_PIPES; i++) { if(canpipes[i].used && &canpipes[i] != (CANPipe*)fd0) @@ -94,7 +94,7 @@ UNS8 canChangeBaudRate_driver( CAN_HANDLE fd0, char* baud) { - printf("%x-> changing to baud rate %s[%d]\n", (CANPipe*)fd0 - &canpipes[0],baud,TranslateBaudRate(baud)); + printf("%lx-> changing to baud rate %s[%d]\n", (CANPipe*)fd0 - &canpipes[0],baud,TranslateBaudRate(baud)); return 0; }