comparison ui.c @ 540:658c188101a6

Silence a warning by typecasting to correct type from void.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 11 Nov 2012 07:33:31 +0200
parents 379e361f1144
children 44f67ec5e945
comparison
equal deleted inserted replaced
539:8a52651bb88d 540:658c188101a6
345 int y, offs; 345 int y, offs;
346 qringbuf_t *buf = currWin->data; 346 qringbuf_t *buf = currWin->data;
347 347
348 for (y = scrHeight - 4, offs = buf->size - 1 - currWin->pos; offs >= 0 && y > 0; offs--) 348 for (y = scrHeight - 4, offs = buf->size - 1 - currWin->pos; offs >= 0 && y > 0; offs--)
349 { 349 {
350 nn_line_t *line = buf->data[offs]; 350 nn_line_t *line = (nn_line_t *) buf->data[offs];
351 if (line != NULL) 351 if (line != NULL)
352 { 352 {
353 const int *s = line->buf; 353 const int *s = line->buf;
354 size_t pos; 354 size_t pos;
355 355