IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 27, 2005, 3:23:01 PM (21 years ago)
Author:
eugene
Message:

substantial work to move kii/kapa call into libkapa, unify RotFont, bDraw functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kii/picture/CreatePicture.c

    r2466 r5852  
    44
    55  int i, j, extra;
    6   char *c;
     6  unsigned char *c;
    77  unsigned int *l;
    88  unsigned int start, start1, start2, start3;
     
    1313  case 8:
    1414    REALLOCATE (layout[0].picture.data, char, layout[0].picture.dx*layout[0].picture.dy);
    15     c = layout[0].picture.data;
     15    c = (unsigned char *) layout[0].picture.data;
    1616    for (i = 0; i < (layout[0].picture.dx*layout[0].picture.dy); i++, c++)
    1717      *c = start;
     
    2222  case 16:
    2323    REALLOCATE (layout[0].picture.data, char, 2*layout[0].picture.dy*layout[0].picture.dx);
    24     c = layout[0].picture.data;
     24    c = (unsigned char *) layout[0].picture.data;
    2525    start1 = 0x0000ff & (start);
    2626    start2 = 0x0000ff & (start >> 8);
Note: See TracChangeset for help on using the changeset viewer.