We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb73655 commit f6ebbb4Copy full SHA for f6ebbb4
1 file changed
hosted/Arduino.cpp
@@ -352,7 +352,7 @@ int screen_thread(void *p)
352
// picture line is; here, we only draw protolines.
353
354
// draw SDL screen border top (before start of picture)
355
- for (int i = 1; i < (STARTLINE - VIEWPORT_Y)*STRETCH_Y; ++i) {
+ for (int i = 1; i < int((STARTLINE - VIEWPORT_Y)*STRETCH_Y); ++i) {
356
memcpy(p, screen->pixels, screen->pitch);
357
p += screen->pitch;
358
}
0 commit comments