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:
authorJohn Langford <jl@hunch.net>2009-10-19 00:26:34 +0400
committerJohn Langford <jl@hunch.net>2009-10-19 00:26:34 +0400
commit0596d19253ccb118629023b999d55ec1c6328fe3 (patch)
treec0593ffc7a1df189169ae4bb3400268e0bc944a9 /simple_label.cc
parent427c583435bf2d7fbf47fa059fa36f6ac5cb5dee (diff)
Fixed a 64 bit bug.
Diffstat (limited to 'simple_label.cc')
-rw-r--r--simple_label.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/simple_label.cc b/simple_label.cc
index 7c79ad7b..5dd580f3 100644
--- a/simple_label.cc
+++ b/simple_label.cc
@@ -52,7 +52,7 @@ void cache_simple_label(void* v, io_buf& cache)
c = bufcache_simple_label(ld,c);
*(size_t*)c = ld->tag.index();
- c += sizeof(ld->tag.index());
+ c += sizeof(size_t);
memcpy(c,ld->tag.begin,ld->tag.index());
c += ld->tag.index();