IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2960


Ignore:
Timestamp:
Jan 11, 2005, 12:10:53 PM (22 years ago)
Author:
jhoblitt
Message:

minor type portability changes

Location:
trunk/Nebulous/nebclient
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/idataclient.c

    r2959 r2960  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: idataclient.c,v 1.5 2005-01-11 21:57:31 jhoblitt Exp $
     6 * $Id: idataclient.c,v 1.6 2005-01-11 22:10:53 jhoblitt Exp $
    77 */
    88
     
    222222}
    223223
    224 int idataCopyFile(char *source, char *dest)
     224off_t idataCopyFile(char *source, char *dest)
    225225{
    226226    int             sourceFH;
    227227    int             destFH;
    228     size_t          bytesCopied;
     228    off_t           bytesCopied;
    229229
    230230    sourceFH = open(source, O_RDONLY);
     
    262262}
    263263
    264 int idataCopyFilehandle(int sourceFH, int destFH)
    265 {
    266     size_t          bytesTotal;
    267     size_t          bytesRemaining;
    268     size_t          writeSize;
     264off_t idataCopyFilehandle(int sourceFH, int destFH)
     265{
     266    off_t           bytesTotal;
     267    off_t           bytesRemaining;
     268    off_t           writeSize;
    269269    char            writeBuf[64 * 1024];
    270270    struct stat     sourceStat;
  • trunk/Nebulous/nebclient/idataclient.h

    r2954 r2960  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: idataclient.h,v 1.3 2005-01-11 04:36:40 jhoblitt Exp $
     6 * $Id: idataclient.h,v 1.4 2005-01-11 22:10:53 jhoblitt Exp $
    77 */
    88
     
    5050void idataFree(void *ptr);
    5151
    52 int idataCopyFile(char *source, char *dest);
     52off_t idataCopyFile(char *source, char *dest);
    5353
    54 int idataCopyFilehandle(int sourceFH, int destFH);
     54off_t idataCopyFilehandle(int sourceFH, int destFH);
Note: See TracChangeset for help on using the changeset viewer.