subsurface/core
Jeremie Guichard 406e4287eb Change calls to rint into lrint avoiding conversion warnings
Using gcc option "-Wfloat-conversion" is useful to catch
potential conversion errors (where lrint should be used).
rint returns double and still raises the same warning,
this is why this change updates all rint calls to lrint.
In few places, where input type is a float, corresponding
lrinf is used.

Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
2017-03-08 14:04:17 +07:00
..
subsurface-qt Revert "In statistics, ignore gas use of planned dives" 2017-02-03 07:31:03 -08:00
android.cpp Fix "Load/Save to cloudstorage" for non-ASCII user names 2017-02-24 01:10:22 -08:00
checkcloudconnection.cpp Allow the user to give longer cloud timeout on the command line 2016-07-23 12:54:30 +09:00
checkcloudconnection.h
cloudstorage.cpp Use preferences object to correctly store cloud status 2016-07-23 12:53:37 +09:00
cloudstorage.h
CMakeLists.txt Revert "Add a simple cp2130 libusb driver" 2016-09-22 14:56:31 -07:00
cochran.c
cochran.h
color.cpp
color.h
compressibility.r
configuredivecomputer.cpp Rewrite libdivecomputer custom serial code 2016-09-17 15:47:37 -07:00
configuredivecomputer.h
configuredivecomputerthreads.cpp Use get_descriptor instead of hard-coded switch's 2016-12-28 22:40:18 -08:00
configuredivecomputerthreads.h
datatrak.c Consistent 'salt water' versus 'fresh water'. 2017-03-04 12:08:17 -08:00
datatrak.h
deco.c Fix typo in saturation/desatureation rates 2017-02-19 15:29:40 -08:00
deco.h ToolTipItem: show gf line based on correct gradient factor preferences 2016-10-27 20:36:14 -07:00
device.c Second attempt to fix crash 2016-09-20 09:26:35 -07:00
device.h Fill in divecomputer serial number and firmware version on loading 2016-08-14 10:22:41 -07:00
devicedetails.cpp
devicedetails.h
display.h Only do 9 minute interval for min/max/avg 2016-04-20 15:55:51 -07:00
dive.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
dive.h Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
divecomputer.cpp Settings update: Remove unused include and add FIXME comment 2016-08-27 11:40:44 -07:00
divecomputer.h
divelist.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
divelist.h Display surface interval in diveplan 2017-01-03 22:28:18 -08:00
divelogexportlogic.cpp Settings update: Remove uneeded includes 2016-08-27 11:40:45 -07:00
divelogexportlogic.h
divesite.c Fix dive site string merging 2017-02-19 17:38:34 -08:00
divesite.cpp
divesite.h Properly handle dive sites loaded from XML 2017-02-19 15:23:46 -08:00
divesitehelpers.cpp
divesitehelpers.h
equipment.c In weights table 'weight' is redundant and no used for other types. 2017-03-07 16:22:27 -08:00
exif.cpp Update exif.cpp from upstream 2017-02-19 15:29:40 -08:00
exif.h Update exif.cpp from upstream 2017-02-19 15:29:40 -08:00
file.c Clean up some warnings in file.c 2016-11-09 06:33:45 -08:00
file.h
gas-model.c Use real gas compressibility in planner 2017-01-16 03:17:40 -08:00
gaspressures.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
gaspressures.h
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c Fix "Load/Save to cloudstorage" for non-ASCII user names 2017-02-24 01:10:22 -08:00
git-access.h git storage: init local repository 2016-04-27 15:05:37 -07:00
gpslocation.cpp Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
gpslocation.h GPS provider: change haveGPS status if GPS source returns error 2016-04-17 22:59:12 -07:00
helpers.h Add helper to parse duration text 2017-03-04 12:16:49 -08:00
imagedownloader.cpp Fix picture hashing logic for pictures on the web. 2016-12-30 19:43:00 +01:00
imagedownloader.h
isocialnetworkintegration.cpp
isocialnetworkintegration.h
libdivecomputer.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
libdivecomputer.h Stop accessing the internals of dc_descriptor_t 2017-01-12 14:15:53 -08:00
linux.c Fix "Load/Save to cloudstorage" for non-ASCII user names 2017-02-24 01:10:22 -08:00
liquivision.c
load-git.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
macos.c Add subsurface_stat for Mac 2017-02-24 01:14:39 -08:00
membuffer.c
membuffer.h
metrics.cpp
metrics.h
ostctools.c ostctools: Add support for profile version 0x24 2017-01-12 14:15:53 -08:00
parse-xml.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
planner.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
planner.h Have divedatapoint store cylinder id instead of gasmix 2016-07-09 12:07:25 -07:00
pluginmanager.cpp
pluginmanager.h
pref.h Merge informational_prefs into git_prefs 2017-02-05 12:29:51 -08:00
prefs-macros.h
profile.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
profile.h Don't calculate the 9 minute average 2016-04-20 16:00:28 -07:00
qt-gui.h
qt-init.cpp Settings update: Move loadPreferences out of qt-helper.cpp 2016-08-27 11:40:45 -07:00
qthelper.cpp Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
qthelper.h Many filenames are const strings 2017-02-21 13:14:56 -08:00
qthelperfromc.h Fix deco_mode confusion 2017-01-06 20:43:23 -08:00
qtserialbluetooth.cpp Fix compile error on Windows 2016-09-18 07:41:55 -07:00
save-git.c Merge informational_prefs into git_prefs 2017-02-05 12:29:51 -08:00
save-html.c Extend time parsing to before 1970 2016-04-29 09:07:17 -07:00
save-html.h
save-xml.c Extend time parsing to before 1970 2016-04-29 09:07:17 -07:00
serial_ftdi.c Fix warning about incompatible pointer 2016-09-18 07:11:45 -07:00
sha1.c
sha1.h
statistics.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
statistics.h Only consider non-zero average depth for statistics 2016-11-15 03:25:46 -08:00
strndup.h
strtod.c
subsurfacestartup.c Finish removal of informational_prefs 2017-02-05 12:44:11 -08:00
subsurfacestartup.h Allow switching the user from the command line 2016-04-29 12:14:59 -07:00
subsurfacesysinfo.cpp
subsurfacesysinfo.h
taxonomy.c
taxonomy.h
time.c Handle negative dates (before the epoch) better 2017-02-17 15:08:38 -08:00
uemis-downloader.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
uemis.c Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
uemis.h
units.h Change calls to rint into lrint avoiding conversion warnings 2017-03-08 14:04:17 +07:00
version.c
version.h
webservice.h
windows.c Fix "Load/Save to cloudstorage" for non-ASCII user names 2017-02-24 01:10:22 -08:00
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h
worldmap-save.c
worldmap-save.h