aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-07-21 14:53:23 +0000
committerNick Mathewson <nickm@torproject.org>2006-07-21 14:53:23 +0000
commit08a4114abf4b933f9e58f83bcdbdd45c430c5a1e (patch)
tree7abcd66f81a30b3dbe5c44ed761a646cbba7cd0d /src/common
parent2249180b60d370ed8cb3f35b7c02c60f3d3ff529 (diff)
downloadtor-08a4114abf4b933f9e58f83bcdbdd45c430c5a1e.tar
tor-08a4114abf4b933f9e58f83bcdbdd45c430c5a1e.tar.gz
Another MSVC6 fix. Grnk.
svn:r6802
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index fde91172d..9a1cd1b66 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -79,7 +79,7 @@
#if defined(_MSC_VER) && (_MSC_VER < 1300)
/* MSVC versions before 7 apparently don't believe that you can cast uint64_t
* to double and really mean it. */
-extern inline double U64_TO_DBL(uint64_t x) {
+extern INLINE double U64_TO_DBL(uint64_t x) {
int64_t i = (int64_t) x;
return (i < 0) ? ((double) INT64_MAX) : (double) i;
}