{
int i;
uint32 s1, s2;
- signed char *buf = (signed char *)buf1;
+ schar *buf = (schar *)buf1;
s1 = s2 = 0;
for (i = 0; i < (len-4); i+=4) {
{
int i;
MDstruct MD;
- static char *buf1 = NULL;
- static int len1 = 0;
+ static char *buf1;
+ static int len1;
if (len > len1) {
if (buf1) free(buf1);
}
-void file_checksum(char *fname,char *sum,off_t size)
+void file_checksum(char *fname,char *sum,OFF_T size)
{
- int i;
+ OFF_T i;
MDstruct MD;
struct map_struct *buf;
int fd;
- int len = size;
+ OFF_T len = size;
char tmpchunk[CSUM_CHUNK];
bzero(sum,csum_length);