1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
--- files.c.orig 2015-04-04 05:20:44 UTC
+++ files.c
@@ -4252,9 +4252,9 @@ static streng *getstatus( tsd_t *TSD, co
sprintf( result->value, "%I64u", buffer.st_ctime );
#else
if ( sizeof(off_t) > 4 )
- sprintf( result->value, "%lld", buffer.st_ctime );
+ sprintf( result->value, "%lld", (long long) buffer.st_ctime );
else
- sprintf( result->value, "%ld", buffer.st_ctime);
+ sprintf( result->value, "%ld", (long) buffer.st_ctime);
#endif
}
break;
@@ -4270,9 +4270,9 @@ static streng *getstatus( tsd_t *TSD, co
sprintf( result->value, "%I64u", buffer.st_mtime );
#else
if ( sizeof(off_t) > 4 )
- sprintf( result->value, "%lld", buffer.st_mtime );
+ sprintf( result->value, "%lld", (long long) buffer.st_mtime );
else
- sprintf( result->value, "%ld", buffer.st_mtime);
+ sprintf( result->value, "%ld", (long) buffer.st_mtime);
#endif
}
break;
@@ -4288,9 +4288,9 @@ static streng *getstatus( tsd_t *TSD, co
sprintf( result->value, "%I64u", buffer.st_atime );
#else
if ( sizeof(off_t) > 4 )
- sprintf( result->value, "%lld", buffer.st_atime );
+ sprintf( result->value, "%lld", (long long) buffer.st_atime );
else
- sprintf( result->value, "%ld", buffer.st_atime);
+ sprintf( result->value, "%ld", (long) buffer.st_atime);
#endif
}
break;
@@ -6061,7 +6061,7 @@ static streng *get_external_routine_file
if ( *fp == NULL )
return NULL;
- my_fullpath( TSD, buf, inname );
+ my_fullpath( (tsd_t *) TSD, buf, inname );
return Str_crestrTSD( buf );
}
@@ -6673,7 +6673,7 @@ int my_fullpathstreng( const tsd_t *TSD,
int retval;
copy = str_ofTSD( src );
- retval = my_fullpath( TSD, dst, copy );
+ retval = my_fullpath( (tsd_t *) TSD, dst, copy );
FreeTSD( copy );
return retval;
|