ref: a14aa30bde008fe40c6a6f846a0c5e687b7c249f
parent: 26739698504b1a2e2c8f44654727736613f61bce
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Oct 20 20:00:35 EDT 2020
Avoid a const violation
--- a/src/Font.cpp
+++ b/src/Font.cpp
@@ -1322,8 +1322,8 @@
size_t pen_x = 0;
- const unsigned char *string_pointer = (unsigned char*)string;
- const unsigned char *string_end = (unsigned char*)string + strlen(string);
+ const unsigned char *string_pointer = (const unsigned char*)string;
+ const unsigned char *string_end = (const unsigned char*)string + strlen(string);
while (string_pointer != string_end)
{