# HG changeset patch # User Matti Hamalainen # Date 1352612011 -7200 # Node ID 658c188101a6568db5481d5e30bac8e6db0f64b1 # Parent 8a52651bb88d92f5067ba3f32eba541e5989d47f Silence a warning by typecasting to correct type from void. diff -r 8a52651bb88d -r 658c188101a6 ui.c --- a/ui.c Sun Nov 11 07:33:17 2012 +0200 +++ b/ui.c Sun Nov 11 07:33:31 2012 +0200 @@ -347,7 +347,7 @@ for (y = scrHeight - 4, offs = buf->size - 1 - currWin->pos; offs >= 0 && y > 0; offs--) { - nn_line_t *line = buf->data[offs]; + nn_line_t *line = (nn_line_t *) buf->data[offs]; if (line != NULL) { const int *s = line->buf;