diff options
author | John Langford <jl@hunch.net> | 2009-10-19 00:26:34 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2009-10-19 00:26:34 +0400 |
commit | 0596d19253ccb118629023b999d55ec1c6328fe3 (patch) | |
tree | c0593ffc7a1df189169ae4bb3400268e0bc944a9 /simple_label.cc | |
parent | 427c583435bf2d7fbf47fa059fa36f6ac5cb5dee (diff) |
Fixed a 64 bit bug.
Diffstat (limited to 'simple_label.cc')
-rw-r--r-- | simple_label.cc | 2 |
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(); |