1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-15 08:56:35 +00:00
openmw/components
elsid cfd7f52a2f
Fix C4244 MSVC warning in Sqlite3::copyColumn
Make sure sqlite3_column_double is not called for int64_t and other
integral types and sqlite3_column_int64 is not called for floating point
types.

[363/1189] Building CXX object components\CMakeFiles\components.dir\RelWithDebInfo\detournavigator\navmeshdb.cpp.obj
D:\dev\openmw\components/sqlite3/request.hpp(109): warning C4244: 'argument': conversion from 'double' to 'T', possible loss of data
        with
        [
            T=int64_t
        ]
D:\dev\openmw\components/sqlite3/request.hpp(109): note: the template instantiation context (the oldest one first) is
D:\dev\openmw\components\detournavigator\navmeshdb.cpp(198): note: see reference to function template instantiation 'I Sqlite3::request<DetourNavigator::DbQueries::GetMaxTileId,DetourNavigator::TileId*,>(sqlite3 &,Sqlite3::Statement<DetourNavigator::DbQueries::GetMaxTileId> &,I,size_t)' being compiled
        with
        [
            I=DetourNavigator::TileId *
        ]
D:\dev\openmw\components/sqlite3/request.hpp(262): note: see reference to function template instantiation 'void Sqlite3::getRow<DetourNavigator::TileId>(sqlite3 &,sqlite3_stmt &,T &)' being compiled
        with
        [
            T=DetourNavigator::TileId
        ]
D:\dev\openmw\components/sqlite3/request.hpp(210): note: see reference to function template instantiation 'void Sqlite3::getColumns<std::tuple<T &>>(sqlite3 &,sqlite3_stmt &,std::tuple<T &> &)' being compiled
        with
        [
            T=DetourNavigator::TileId
        ]
D:\dev\openmw\components/sqlite3/request.hpp(203): note: see reference to function template instantiation 'void Sqlite3::getColumnsImpl<1,T>(sqlite3 &,sqlite3_stmt &,T &)' being compiled
        with
        [
            T=std::tuple<DetourNavigator::TileId &>
        ]
D:\dev\openmw\components/sqlite3/request.hpp(190): note: see reference to function template instantiation 'void Sqlite3::copyColumn<T>(sqlite3 &,sqlite3_stmt &,int,int,T &)' being compiled
        with
        [
            T=DetourNavigator::TileId
        ]
2025-10-05 14:39:51 +02:00
..
bgsm Merge branch 'nifmisc' into 'master' 2024-04-25 08:45:36 +00:00
bsa Resolve a number of Coverity defects 2025-08-06 19:52:09 +02:00
bullethelpers Remove unused includes 2022-10-09 16:44:18 +02:00
compiler Remove small translation units 2025-08-29 00:41:47 +02:00
config Resolve a number of Coverity defects 2025-08-06 19:52:09 +02:00
contentselector Fix and enforce local variable naming 2025-08-05 21:27:48 +02:00
crashcatcher Fix and enforce local variable naming 2025-08-05 21:27:48 +02:00
debug Fix and enforce local variable naming 2025-08-05 21:27:48 +02:00
detournavigator Replace StringUtils::format in components/detournavigator 2025-08-24 13:55:33 +02:00
esm Remove small translation units 2025-08-29 00:41:47 +02:00
esm3 Bump us up to 0.51 2025-08-30 14:21:31 +02:00
esm4 Resolve a number of Coverity defects 2025-08-06 19:52:09 +02:00
esmloader Gets rid of most ESM::CellId 2023-04-03 14:16:05 +02:00
esmterrain Fix and enforce local variable naming 2025-08-05 21:27:48 +02:00
fallback Fix and enforce namespace naming 2025-07-20 21:19:16 +02:00
files Remove small translation units 2025-08-29 00:41:47 +02:00
fontloader Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
fx Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
interpreter Replace StringUtils::format in components/interpreter 2025-08-24 14:07:41 +02:00
l10n Work around compiler versions that haven't addressed defect 3865 2025-07-30 19:41:14 +02:00
loadinglistener Drop 360-degree screenshot support (#7720) 2024-06-06 14:46:01 +03:00
lua Turn menu.saveGame into a delayed action 2025-09-20 10:39:43 +00:00
lua_ui Remove small translation units 2025-08-29 00:41:47 +02:00
misc Merge branch 'formatcomponents' into 'master' 2025-08-31 17:59:35 +00:00
myguiplatform Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
navmeshtool Stop updating navmeshtool progress on first bad message 2023-01-27 19:10:53 +01:00
nif Add and fix -Wshadow 2025-08-18 21:09:06 +02:00
nifbullet Use normalized path in BulletShapeManager 2024-09-27 23:33:58 +02:00
nifosg make sure we apply extra data statesets at right time 2025-08-31 11:16:54 -07:00
platform Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
process Remove a line break that clang-format was fussing about 2025-06-19 00:27:08 +01:00
resource Ensure error marker assignment is thread safe 2025-09-25 20:47:10 +02:00
sceneutil Merge branch 'waste-of-time' into 'master' 2025-08-31 18:01:51 +00:00
sdlutil Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
serialization Add missing array include 2023-07-29 00:29:03 +02:00
settings Merge branch 'master' of https://gitlab.com/OpenMW/openmw 2025-08-04 16:44:12 -07:00
shader Merge branch 'formatcomponents' into 'master' 2025-08-31 17:59:35 +00:00
sqlite3 Fix C4244 MSVC warning in Sqlite3::copyColumn 2025-10-05 14:39:51 +02:00
std140 Add missing array include 2023-07-29 00:29:03 +02:00
stereo Add and fix -Wshadow 2025-08-18 21:09:06 +02:00
terrain Fix and enforce local variable naming 2025-08-05 21:27:48 +02:00
testing Fix path handling for files in BSAs 2025-07-03 08:46:23 +02:00
toutf8 Merge branch 'filenameexceptions' into 'master' 2025-07-01 20:45:33 +00:00
translation Fix and enforce local variable naming 2025-08-05 21:27:48 +02:00
version Open matching version of documentation for Launcher Help 2024-02-25 18:20:40 +01:00
vfs Use normalized path in Lua vfs bindings 2025-08-29 22:47:00 +02:00
widgets Fix and enforce parameter naming 2025-08-27 12:45:09 +02:00
CMakeLists.txt Add and fix -Wshadow 2025-08-18 21:09:06 +02:00
doc.hpp