diff --git a/misc/comm.c b/misc/comm.c index bb462ddce78..b0ed5e49a26 100644 --- a/misc/comm.c +++ b/misc/comm.c @@ -2126,7 +2126,7 @@ BOOL WINAPI SetCommState(INT handle,LPDCB lpdcb) default: commerror = IE_BAUDRATE; close( fd ); - ERR("baudrate %d \n",lpdcb->BaudRate); + ERR("baudrate %ld\n",lpdcb->BaudRate); return FALSE; } port.c_ispeed = port.c_ospeed;