a "normal C long" on 64 bit linux would be the same data type as sqlite_int64. On a 32bit system, just cast it (assuming you know that you'll never have more than 2 billion rows).
> What I'm not clear about is that the documentation says that > rowid is an alias for the primary key column of type INTEGER > PRIMARY KEY. How is the > sqlite_int64 converted to a 'normal' C long? > > I'm using the sqlite3_last_insert_rowid() call to retrieve > the key of the row I just inserted (so I can refer to it when > I do UPDATE and DELETE).

