From: Dan White Date: Mon, 4 Jun 2012 14:22:44 +0000 (-0500) Subject: Cleanup type cast warnings X-Git-Tag: calibrations~57 X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=66747e724221b745e00b3b9d3f3a26d64f878838;p=430.git Cleanup type cast warnings --- diff --git a/msp4th/x.c b/msp4th/x.c index 6512c29..4b53fe4 100644 --- a/msp4th/x.c +++ b/msp4th/x.c @@ -725,7 +725,7 @@ void luFunc(){ void numFunc(){ // the word to test is in wordBuffer int16_t i,j,n; - printString("in numFunc()\r\n"); + printString((const uint8_t *)"in numFunc()\r\n"); printString(wordBuffer); // first check for neg sign i = 0; @@ -900,9 +900,9 @@ void execFunc(){ void execN(int16_t n){ int16_t i,j,k,m; int32_t x,y,z; - printString("execN: "); + printString((const uint8_t *)"execN: "); printNumber(n); - printString("\r\n"); + printString((const uint8_t *)"\r\n"); switch(n){ case 1: // xit = 1; @@ -1057,7 +1057,7 @@ void execN(int16_t n){ case 30: // num - printString("in case 30\r\n"); + printString((const uint8_t *)"in case 30\r\n"); numFunc(); break; @@ -1280,7 +1280,7 @@ void processLoop(){ // this processes the forth opcodes. while(1){ - printString("processLoop()\r\n"); + printString((const uint8_t *)"processLoop()\r\n"); if(progCounter > 9999){ opcode = progBi[progCounter - 10000]; } else {