Fix a warning coming from the Solaris Studio compiler.

FossilOrigin-Name: 33294bbd1724665832464b33f865a29dc82b90f6
This commit is contained in:
drh
2012-02-10 20:43:05 +00:00
parent 76aad0d1df
commit 96d7b510e9
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -416,7 +416,7 @@ static void randomFunc(
** 2s complement of that positive value. The end result can
** therefore be no less than -9223372036854775807.
*/
r = -(r ^ (((sqlite3_int64)1)<<63));
r = -(r ^ (((sqlite3_uint64)1)<<63));
}
sqlite3_result_int64(context, r);
}