Ignore:
Timestamp:
Jul 13, 2014, 12:13:33 PM (10 years ago)
Author:
katerina
Message:

Fix for ticket #356 (minor bug in exepack_fill.c).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/exepack_fill.c

    r1 r456  
    169169{
    170170  FILE * fd;
    171   long   clen;
     171  unsigned long   clen;
    172172  char * data;
    173173  struct stat sbuf;
     
    222222    return (-1);
    223223
    224   fread  (data, 1, clen, fd);
     224  if (clen != fread  (data, 1, clen, fd))
     225    return (-1);
    225226  fclose (fd);
    226227
     
    337338      return (8);
    338339    }
    339   status = replaceData (data, clen, "CONTAINER", outbuf, out_len);
     340  status = replaceData (data, clen, "CONTAINER", (char *) outbuf, out_len);
    340341  if (status < 0)
    341342    {
Note: See TracChangeset for help on using the changeset viewer.