Fixed a compiler warning for statusbar_redraw

Fixed a compiler warning for statusbar_redraw.