Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorU-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com>2013-01-09 00:50:00 +0400
committerU-NORTHAMERICA\jcl <jcl@JCL.northamerica.corp.microsoft.com>2013-01-09 00:50:00 +0400
commit92552edf319b5d2945526eab1cae3dab52b17dbe (patch)
tree13dd43aedcf965801539db5bc0c2faa84409ab19 /vowpalwabbit/hash.cc
parentc5addffa18423283788d04912e44ea86994824c4 (diff)
zeroing out warnings
Diffstat (limited to 'vowpalwabbit/hash.cc')
-rw-r--r--vowpalwabbit/hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/hash.cc b/vowpalwabbit/hash.cc
index 4aeb176a..52d62549 100644
--- a/vowpalwabbit/hash.cc
+++ b/vowpalwabbit/hash.cc
@@ -76,7 +76,7 @@ FORCE_INLINE uint32_t fmix (uint32_t h)
uint32_t uniform_hash (const void * key, size_t len, uint32_t seed)
{
const uint8_t * data = (const uint8_t*)key;
- const int nblocks = len / 4;
+ const int nblocks = (int)len / 4;
uint32_t h1 = seed;