Nuno Lucas wrote:
On Visual Studio .NET 2003, there is a warning that can be easily eliminated
on "os.c", line 836:

---- os.c, line 835 -----------
  }else{
    zDir = sqlite_temp_directory;
  }
-------------------------------

The compiler warns about assigning a const pointer to a non-const pointer.
Casting it, fixes the warning (I believe it is a safe thing to do it in
this context).

---- os.c, line 836 -----------
    zDir = (char*)sqlite_temp_directory;
-------------------------------

"const char *zDir;" looks more appropriate to me.

Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to