Ignore:
Timestamp:
Dec 18, 2009, 10:50:37 PM (10 years ago)
Author:
Sam Hocevar
Message:

Fix an alignment issue in caca_get_canvas_chars() and caca_get_canvas_attrs().
Fixes #41.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver/win32.c

    r3489 r4146  
    196196    SMALL_RECT rect;
    197197    CHAR_INFO *buffer = dp->drv.p->buffer;
    198     uint32_t const *cvchars = (uint32_t const *)caca_get_canvas_chars(dp->cv);
    199     uint32_t const *cvattrs = (uint32_t const *)caca_get_canvas_attrs(dp->cv);
     198    uint32_t const *cvchars = caca_get_canvas_chars(dp->cv);
     199    uint32_t const *cvattrs = caca_get_canvas_attrs(dp->cv);
    200200    int width = caca_get_canvas_width(dp->cv);
    201201    int height = caca_get_canvas_height(dp->cv);
Note: See TracChangeset for help on using the changeset viewer.