diff options
Diffstat (limited to 'gtk/text_page_utils.c')
-rw-r--r-- | gtk/text_page_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/text_page_utils.c b/gtk/text_page_utils.c index 2cbc309b9b..b2769cc881 100644 --- a/gtk/text_page_utils.c +++ b/gtk/text_page_utils.c @@ -116,7 +116,7 @@ static void text_page_set_text(GtkWidget *page, const char *absolute_path) text_file = ws_fopen(absolute_path, "r"); if (text_file != NULL) { while (fgets(line, sizeof line, text_file) != NULL) { - text_page_insert(page, line, strlen(line)); + text_page_insert(page, line, (int) strlen(line)); } if(ferror(text_file)) { simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Error reading file \"%s\": %s", |