From 8cf24f981e81a97950990e515e733baf1f326282 Mon Sep 17 00:00:00 2001 From: Wang Renxin Date: Tue, 21 Jun 2016 12:59:37 +0800 Subject: [PATCH] *avoided warnings. --- shell/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/main.c b/shell/main.c index 3ef6b3f..4166982 100755 --- a/shell/main.c +++ b/shell/main.c @@ -779,7 +779,7 @@ static void _list_program(const char* sn, const char* cn) { long i = 0; for(i = 0; i < _code()->count; ++i) { p = _code()->lines[i]; - _get_unicode_bom(&p); + _get_unicode_bom((const char**)&p); _list_one_line(false, i + 1, p); } } else { @@ -802,7 +802,7 @@ static void _list_program(const char* sn, const char* cn) { break; p = _code()->lines[i]; - _get_unicode_bom(&p); + _get_unicode_bom((const char**)&p); _list_one_line(true, i + 1, p); } }