Commit 8f5b17f5 authored by Georgi Kodinov's avatar Georgi Kodinov

Fixed win32 compilation warnings

parent f7fa5d5a
......@@ -76,7 +76,9 @@ int my_redel(const char *org_name, const char *tmp_name, myf MyFlags)
int my_copystat(const char *from, const char *to, int MyFlags)
{
struct stat statbuf;
#if !defined(__WIN__) && !defined(__NETWARE__)
int res;
#endif
if (stat((char*) from, &statbuf))
{
......
......@@ -117,7 +117,7 @@ static char* add_identifier(char *to_p, const char * end_p,
*(to_p++)= '`';
*(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);
conv_name+= length;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment