|
From: <bo...@us...> - 2008-10-16 09:27:23
|
Revision: 326
http://gearbox.svn.sourceforge.net/gearbox/?rev=326&view=rev
Author: borax00
Date: 2008-10-16 08:57:34 +0000 (Thu, 16 Oct 2008)
Log Message:
-----------
fixed warn.
Modified Paths:
--------------
gearbox/trunk/src/gbxsickacfr/sickdefines.h
Modified: gearbox/trunk/src/gbxsickacfr/sickdefines.h
===================================================================
--- gearbox/trunk/src/gbxsickacfr/sickdefines.h 2008-10-16 06:14:30 UTC (rev 325)
+++ gearbox/trunk/src/gbxsickacfr/sickdefines.h 2008-10-16 08:57:34 UTC (rev 326)
@@ -65,7 +65,7 @@
//
// Acknowledgement types
//
- inline uChar ack( uChar command ) { return command + 0x80; }
+ inline uChar ack( uChar command ) { return (uChar)(command + 0x80); }
// Need to do this so they can be used in constant expressions (eg in switch stmts)
const uChar ACK_INIT_AND_RESET = CMD_INIT_AND_RESET + 0x80;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|