changeset 1981:8403130d65ad draft

fix and correct result
author masa
date Thu, 13 Mar 2014 03:08:43 +0900
parents aa5fabf2d4b2
children 455e620ad2b2
files example/word_count/main.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/example/word_count/main.cc	Thu Mar 13 03:01:33 2014 +0900
+++ b/example/word_count/main.cc	Thu Mar 13 03:08:43 2014 +0900
@@ -312,7 +312,7 @@
     w->self = w;
     w->task_spawned = 0;
 
-    w->size = w->file_size;
+    w->size = w->file_size = w->read_filesize;
     printf("w %lx\n",(long)w);
 
     /* 1task分のデータサイズ(byte) */