make implicit type conversions explicit

This commit is contained in:
Konstantin Käfer
2014-02-21 13:08:13 +01:00
parent 4418f2d1c8
commit e382cab17d
15 changed files with 40 additions and 40 deletions

View File

@@ -10,8 +10,8 @@ using namespace llmr;
void DebugFontBuffer::addText(const char *text, double left, double baseline, double scale) {
uint16_t *coords = nullptr;
int32_t length = strlen(text);
for (int32_t i = 0; i < length; ++i) {
size_t length = strlen(text);
for (size_t i = 0; i < length; ++i) {
if (text[i] < 32 || text[i] > 127) {
continue;
}