aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sky/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/text.cpp b/sky/text.cpp
index 1e22a39c4f..cfb4c0f209 100644
--- a/sky/text.cpp
+++ b/sky/text.cpp
@@ -279,7 +279,7 @@ displayText_t SkyText::displayText(char *textPtr, uint8 *dest, bool centre, uint
if (_dtData == NULL)
_dtData = (byte *)malloc(numBytes);
- byte *curDest = _dtData;
+ uint8 *curDest = _dtData;
uint32 bytesToClear = numBytes; //no of bytes to clear
bytesToClear -= sizeof(struct dataFileHeader); //don't touch the header.