Fixed win32 compilation warnings
This commit is contained in:
parent
27065edafb
commit
f0720480dc
@ -76,7 +76,9 @@ end:
|
|||||||
int my_copystat(const char *from, const char *to, int MyFlags)
|
int my_copystat(const char *from, const char *to, int MyFlags)
|
||||||
{
|
{
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
|
#if !defined(__WIN__) && !defined(__NETWARE__)
|
||||||
int res;
|
int res;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (stat((char*) from, &statbuf))
|
if (stat((char*) from, &statbuf))
|
||||||
{
|
{
|
||||||
|
@ -117,7 +117,7 @@ static char* add_identifier(char *to_p, const char * end_p,
|
|||||||
*(to_p++)= '`';
|
*(to_p++)= '`';
|
||||||
*(to_p++)= *(conv_name++);
|
*(to_p++)= *(conv_name++);
|
||||||
}
|
}
|
||||||
else if (length < (end_p - to_p))
|
else if (((long) length) < (end_p - to_p))
|
||||||
{
|
{
|
||||||
to_p= strnmov(to_p, conv_name, length);
|
to_p= strnmov(to_p, conv_name, length);
|
||||||
conv_name+= length;
|
conv_name+= length;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user