CaryCoders / Mbed 2 deprecated demo_SX1276_standalone

Dependencies:   SX1276Lib mbed

Fork of SX1276_GPS by CaryCoders

Revision:
14:8b359e1e68f3
Parent:
13:9641bc42db92
Child:
15:d1eaddb363be
diff -r 9641bc42db92 -r 8b359e1e68f3 Modules/TempModule.cpp
--- a/Modules/TempModule.cpp	Mon Aug 11 19:11:43 2014 +0000
+++ b/Modules/TempModule.cpp	Mon Aug 11 19:13:08 2014 +0000
@@ -39,7 +39,7 @@
 {
     const int k_aCursor[] = { 6, 7 };
     
-    if (inout_nIndex < 0) inout_nIndex = 0;
+    if ((int)inout_nIndex < 0) inout_nIndex = 0;
     if (inout_nIndex >= _countof(k_aCursor)) inout_nIndex = _countof(k_aCursor) - 1;
        
     return k_aCursor[inout_nIndex];