From 14e6f856c59fdda37294005152f994a923cfec47 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Tue, 2 Feb 2010 17:52:41 +0000 Subject: 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 --- comport/comport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comport') diff --git a/comport/comport.c b/comport/comport.c index e951531..60ecb43 100644 --- a/comport/comport.c +++ b/comport/comport.c @@ -1234,7 +1234,7 @@ allows COM port numbers to be specified. */ 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 { -- cgit v1.2.1