Got rid of a warning about the float com_num being printed as int by printing it as float.

svn path=/trunk/externals/iem/comport/; revision=13133
This commit is contained in:
Martin Peach 2010-02-02 17:52:41 +00:00
parent 1315bde6fb
commit 14e6f856c5

View file

@ -1234,7 +1234,7 @@ allows COM port numbers to be specified. */
if(fd == INVALID_HANDLE_VALUE ) if(fd == INVALID_HANDLE_VALUE )
{ {
pd_error(x, "[comport] opening serial port %d failed!", com_num); pd_error(x, "[comport] opening serial port %f failed!", com_num);
} }
else else
{ {