Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Fix compiling warning on Windows - VS #56

Merged
merged 1 commit into from
Mar 4, 2015
Merged

Fix compiling warning on Windows - VS #56

merged 1 commit into from
Mar 4, 2015

Conversation

ClaudiuHKS
Copy link
Contributor

There were two warnings stating that transferring data from double to float can probably cause loss of data.
This patch fixes these two warnings.

There were two warnings stating that transferring data from "double" to "float" can probably cause loss of data.
This patch fixes these two warning.
oschwald added a commit that referenced this pull request Mar 4, 2015
Fix compiling warning on Windows - VS
@oschwald oschwald merged commit 165a67f into maxmind:master Mar 4, 2015
@oschwald
Copy link
Member

oschwald commented Mar 4, 2015

Thanks!

oschwald added a commit that referenced this pull request Jul 28, 2015
1.6.6

* Replaced usage of deprecated fileno, read, and lseek on Visual Studio 2005+
  with their ISO C++ conformant replacements. (Fix by ClaudiuHKS. GitHub #55.)
* A warning about using a double as a float was fixed. (Fix by ClaudiuHKS.
  GitHub #56.)
* Fixed segfault when doing a lookup on an empty database. (Fix by NesoK.
  GitHub #62.)
* Fixed a memcheck error from valgrind in the `_check_mtime`
  function. (Reported by yurivct. GitHub #60.)
* Fixed `_check_mtime` to check the return value of `gettimeofday` rather than
  just assuming it worked.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants