From: drh <> Date: Fri, 15 Sep 2023 10:24:29 +0000 (+0000) Subject: Do not try to convert a double into an unsigned 64-bit integer, as that does X-Git-Tag: version-3.44.0~195 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=581b22936297aa4cc19f2ee1920804ce96d5459d;p=thirdparty%2Fsqlite.git Do not try to convert a double into an unsigned 64-bit integer, as that does not work on all platforms. A double can only be converted into a signed 64-bit integer. FossilOrigin-Name: ce339046416e9ddeffe77f71a8bfb8c5b302160c3207f919aebd62902618ed59 --- 581b22936297aa4cc19f2ee1920804ce96d5459d diff --cc manifest index a8c9192cbb,251175f529..2cc282e161 --- a/manifest +++ b/manifest @@@ -1,5 -1,5 +1,5 @@@ - C Tests\sfor\sjava\sversions\sof\sFts5ExtensionApi.xSetAuxdata()\sand\sxGetAuxdata(). - D 2023-09-14T20:56:42.867 -C According\sto\s[forum:/forumpost/9f6db917e1|forum\spost\s9f6db917e1],\solder\nMSVC\scompilers\sare\sunable\sto\sconvert\sa\sdouble\sdirectly\sinto\san\sunsigned\nlong\slong\sint,\sbut\smust\sfirst\sgo\sthrough\sa\ssigned\slong\slong\sint.\s\sWork\naround\sthis\sby\srestricting\sthe\srange\sof\sdoubles\sthat\sare\sconverted\sinto\nlong\slong\sintegers\sso\sthat\sonly\sthe\slower\s63\sbits\sare\sused. -D 2023-09-14T16:45:46.508 ++C Do\snot\stry\sto\sconvert\sa\sdouble\sinto\san\sunsigned\s64-bit\sinteger,\sas\sthat\sdoes\nnot\swork\son\sall\splatforms.\s\sA\sdouble\scan\sonly\sbe\sconverted\sinto\sa\ssigned\n64-bit\sinteger. ++D 2023-09-15T10:24:29.345 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@@ -2121,8 -2120,11 +2121,9 @@@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a9 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 - P 385ec08570451c0be212677d1b681c13d225dc690965effa2293e64cb3d56023 - R a2d5d1579429460e87c61454644eb573 - U dan - Z cb1a55083883473c283480a0f316b0cc -P d88f41b2cf2b721170d2428a50b717976091389d9a07d0ffa15c3323b0eaad37 -R 6e9fdfd96a217f016b03340a643ca4a6 -T *branch * legacy-msvc-workaround -T *sym-legacy-msvc-workaround * -T -sym-trunk * ++P 858fa236f8b673eb03cf2242e8202cd33ae1f13a43b59bdbb2eecdb21d42ef55 0ab05871ba36e2a0eddfbc700c1d39891c54c453727a4effcdac3327efec163b ++R 471f1110fdf5d26a5080351103b3b730 ++T +closed 0ab05871ba36e2a0eddfbc700c1d39891c54c453727a4effcdac3327efec163b + U drh -Z abca420c386c3b858f38fb26a0353eaf ++Z 5b5a1b021f1cd0ac8b138bf678d74c57 # Remove this line to create a well-formed Fossil manifest. diff --cc manifest.uuid index 920aa79562,e43e8e800c..a478c84dce --- a/manifest.uuid +++ b/manifest.uuid @@@ -1,1 -1,1 +1,1 @@@ - 858fa236f8b673eb03cf2242e8202cd33ae1f13a43b59bdbb2eecdb21d42ef55 -0ab05871ba36e2a0eddfbc700c1d39891c54c453727a4effcdac3327efec163b ++ce339046416e9ddeffe77f71a8bfb8c5b302160c3207f919aebd62902618ed59