Commits

Evan Gates committed 1b3057b

get rid of warnings (is that way safe?)

  • Participants
  • Parent commits 8e4a933

Comments (0)

Files changed (1)

 {
 	if (!show_fps)
 		return;
-	cursor_crd(0, MIN(cols, size) * 2 - strlen("fps: xxx"));
+	cursor_crd(0, MIN(cols, size) * 2 - (int)strlen("fps: xxx"));
 	printf("fps: %03d", fps);
 	fflush(stdout);
 }
 {
 	if (!show_pop)
 		return;
-	cursor_crd(MIN(rows, size), MIN(cols, size) * 2 - strlen("pop: xxxxxxx"));
+	cursor_crd(MIN(rows, size), MIN(cols, size) * 2 - (int)strlen("pop: xxxxxxx"));
 	printf("pop: %07d", pop);
 	fflush(stdout);
 }