Changeset 14858


Ignore:
Timestamp:
03/22/12 17:26:43 (10 years ago)
Author:
nit
Message:

[titan] fix compiler warn

Location:
titan/titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/fb.h

    r14758 r14858  
    312312                        memcpy(buf, tmpnr, strlen(tmpnr));
    313313                        free(tmpnr); tmpnr = NULL;
    314                         socksend(&status.rguidfd, (char*)buf, 10, 5000 * 1000);
    315                         socksend(&status.rguidfd, zbuf, zlen, 5000 * 1000);
     314                        socksend(&status.rguidfd, buf, 10, 5000 * 1000);
     315                        socksend(&status.rguidfd, (unsigned char*)zbuf, zlen, 5000 * 1000);
    316316                }
    317317                free(zbuf); zbuf = NULL;
  • titan/titan/header.h

    r14759 r14858  
    11#ifndef HEADER_H
    22#define HEADER_H
     3
     4//channellist.h
     5int screenchannellist(struct channel** retchannel, char** retchannellist, int flag);
    36
    47//rguid.h
  • titan/titan/skin.h

    r14752 r14858  
    14011401        if(flag == 1 && (scalewidth * scaleheight * 4) > accelfb->varfbsize)
    14021402        {
    1403                 err("accelfb to small %d -> %d ", scalewidth * scaleheight * 4, accelfb->varfbsize);
     1403                err("accelfb to small %d -> %lu ", scalewidth * scaleheight * 4, accelfb->varfbsize);
    14041404                return;
    14051405        }
Note: See TracChangeset for help on using the changeset viewer.