From 66747e724221b745e00b3b9d3f3a26d64f878838 Mon Sep 17 00:00:00 2001 From: Dan White Date: Mon, 4 Jun 2012 09:22:44 -0500 Subject: [PATCH] Cleanup type cast warnings --- msp4th/x.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 { -- 2.25.1