summaryrefslogtreecommitdiff
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
commit5b85b474068b1de034e76ade846cc77030b3554b (patch)
tree301a2e8acc4afba6fe9784d627780c943ca20817
parentdb2dab0ff60036f2aab50096eb1eb269d473e667 (diff)
downloadtor-5b85b474068b1de034e76ade846cc77030b3554b.tar.gz
tor-5b85b474068b1de034e76ade846cc77030b3554b.zip
Another MSVC6 fix. Grnk.
svn:r6802
-rw-r--r--trunk/src/common/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/common/compat.h b/trunk/src/common/compat.h
index fde91172d4..9a1cd1b66f 100644
--- a/trunk/src/common/compat.h
+++ b/trunk/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;
}