]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tossim/tossim.i
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / tos / lib / tossim / tossim.i
index 49ec978850b9d30fea75e8ed404ebeb0df74947b..5735a1d5513d62efe7e1adf723255b77a0f4bc77 100644 (file)
@@ -298,8 +298,8 @@ PyObject* listFromArray(char* type, char* ptr, int len) {
         }
       }
       else {
-        app->variableNames[i] = "<bad string>";
-        app->variableTypes[i] = "<bad string>";
+        app->variableNames[i] = (char*)"<bad string>";
+        app->variableTypes[i] = (char*)"<bad string>";
       }
     }