--- 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;
}