shithub: orca

Download patch

ref: 4fa340881b2b770236b6dd1631eee7ed46c4d2dc
parent: e3a679e17ca2426547038f82b40a446c04205203
author: cancel <cancel@cancel.fm>
date: Mon Nov 26 00:28:39 EST 2018

Fix warning in tui build

--- a/tui_main.c
+++ b/tui_main.c
@@ -71,8 +71,8 @@
       fill_char = new_fill_char;
     }
     field_fill_subrect(&field, 0, 0, field.height, field.width, '.');
-    field_fill_subrect(&field, 1, 1, field.height - 2, field.width - 2,
-                       fill_char);
+    field_fill_subrect(&field, 1, 1, (Usz)(field.height - 2),
+                       (Usz)(field.width - 2), fill_char);
     // field_debug_draw(stdscr, &field, 0, 0);
     field_copy_subrect(&field, &field, 0, 0, 4, 4, 8, 8);
     field_copy_subrect(&field, &field, 0, 0, 0, 0, 0, 0);