Ignore:
Timestamp:
Apr 19, 2008, 4:07:50 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Changed most "unsigned char" variables into "uint8_t", including in prototypes. As they are equivalent, this does not break the ABI.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaserver.c

    r2299 r2300  
    150150    memcpy(server->prefix, INIT_PREFIX, sizeof(INIT_PREFIX));
    151151    tmp = strstr(server->prefix, "____");
    152     tmp[0] = (unsigned char) (server->width & 0xff00) >> 8;
    153     tmp[1] = (unsigned char) server->width & 0xff;
    154     tmp[2] = (unsigned char) (server->height & 0xff00) >> 8;
    155     tmp[3] = (unsigned char) server->height & 0xff;
     152    tmp[0] = (uint8_t) (server->width & 0xff00) >> 8;
     153    tmp[1] = (uint8_t) server->width & 0xff;
     154    tmp[2] = (uint8_t) (server->height & 0xff00) >> 8;
     155    tmp[3] = (uint8_t) server->height & 0xff;
    156156
    157157    if((server->sockfd = socket(PF_INET, SOCK_STREAM, 0)) == -1)
Note: See TracChangeset for help on using the changeset viewer.