"Ian Frosst" <[EMAIL PROTECTED]> wrote:
> the two suspects I see in the warnings are:
> 
> static int winFileHandle(OsFile *id)
> {
>    return (int)((winFile*)id)->h;
> }
> 
> The HANDLE will be64 bit, then get trunc'd when cast (unless there is some
> compiler magic afoot that I'm not aware of.)

winFileHandle is used only to print (using %d) the file handle
for debugging purposes.  If you do not enable debugging, this
routine is never used.  And even if you do, the truncation will
not matter.  This is nothing to worry about.  I suppose I 
should add a comment to that effect....

> 
> And, in vtab.c(573)
> 
> int sqlite3VtabCommit(sqlite3 *db)
> {
>    callFinaliser(db, (int)(&((sqlite3_module *)0)->xCommit));
>    return SQLITE_OK;
> }
> 
> the explicit cast of the commit function pointer to int could be a
> truncation operation (though looking deeper into this one, it looks like
> that's not used as a pointer directly, but as an offset, so I could be off
> base.)
> 

This appears to be taking an offset.  I'll look into it further when
I get a chance.
--
D. Richard Hipp  <[EMAIL PROTECTED]>


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to