changeset 606 | 15a175f6305d |
parent 600 | 7767029937aa |
child 629 | b9274b595650 |
--- a/drivers/win32/win32.c Thu Oct 08 17:21:15 2009 +0200 +++ b/drivers/win32/win32.c Thu Oct 08 17:34:44 2009 +0200 @@ -103,7 +103,7 @@ if (!handle) { - fprintf (stderr, "%s\n", GetLastError()); + fprintf (stderr, "%d\n", GetLastError()); return NULL; } @@ -181,7 +181,7 @@ /***************************************************************************/ int canClose(CO_Data * d) { - UNS8 res; + UNS8 res = 1; CANPort* tmp; if((CANPort*)d->canHandle)