Ignore:
Timestamp:
Dec 18, 2009, 10:50:37 PM (11 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/x11.c

    r4143 r4146  
    394394static void x11_display(caca_display_t *dp)
    395395{
    396     uint32_t const *cvchars = (uint32_t const *)caca_get_canvas_chars(dp->cv);
    397     uint32_t const *cvattrs = (uint32_t const *)caca_get_canvas_attrs(dp->cv);
     396    uint32_t const *cvchars = caca_get_canvas_chars(dp->cv);
     397    uint32_t const *cvattrs = caca_get_canvas_attrs(dp->cv);
    398398    int width = caca_get_canvas_width(dp->cv);
    399399    int height = caca_get_canvas_height(dp->cv);
Note: See TracChangeset for help on using the changeset viewer.