diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-30 22:01:36 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-30 22:01:36 +0000 |
commit | 68994bd738b616f5c7d279ec775fd5cc959ff92f (patch) | |
tree | fe610e2523b7820c14eb0dd1db4a2b265bce89e9 /src/fe-text | |
parent | 30f4151e5173f228d8f8f84f67bf2078b157ac05 (diff) | |
download | irssi-68994bd738b616f5c7d279ec775fd5cc959ff92f.zip |
Removed some warning messages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@403 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/gui-windows.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c index 3435cb85..cdce5bd1 100644 --- a/src/fe-text/gui-windows.c +++ b/src/fe-text/gui-windows.c @@ -271,7 +271,7 @@ static LINE_CACHE_REC *gui_window_line_cache(GUI_WINDOW_REC *gui, LINE_REC *line break; if (*ptr == LINE_CMD_CONTINUE) { - char *tmp; + unsigned char *tmp; memcpy(&tmp, ptr+1, sizeof(char *)); ptr = tmp; @@ -313,7 +313,7 @@ static LINE_CACHE_REC *gui_window_line_cache(GUI_WINDOW_REC *gui, LINE_REC *line } sub = g_new(LINE_CACHE_SUB_REC, 1); - sub->start = ptr; + sub->start = (char *) ptr; sub->indent = indent_pos; sub->color = color; |