From 3077eb6a6578561f4fdfed1d1851e9a677ad030d Mon Sep 17 00:00:00 2001 From: yuqing Date: Wed, 23 Jul 2014 17:39:04 +0800 Subject: [PATCH] change req_count from int to int64_t --- HISTORY | 3 ++- src/fast_task_queue.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 5977760..696c9a1 100644 --- a/HISTORY +++ b/HISTORY @@ -1,5 +1,5 @@ -Version 1.06 2014-07-14 +Version 1.06 2014-07-23 * update source code from FastDFS V5.02 * add function short2buff and buff2short * add object memory pool (fast_mblock.h and fast_mblock.c) @@ -16,6 +16,7 @@ Version 1.06 2014-07-14 * bug fixed: connection pool should NOT increase counter when connect fail * logger.c do NOT call fsync after write * sockopt.c add tcprecvdata_nb_ms to support millisecond timeout + * change req_count from int to int64_t Version 1.05 2012-07-08 * update source code from FastDFS V3.09 diff --git a/src/fast_task_queue.h b/src/fast_task_queue.h index 091a6a9..06a873e 100644 --- a/src/fast_task_queue.h +++ b/src/fast_task_queue.h @@ -54,7 +54,7 @@ struct fast_task_info int size; //alloc size int length; //data length int offset; //current offset - int req_count; //request count + int64_t req_count; //request count TaskFinishCallback finish_callback; struct nio_thread_data *thread_data; struct fast_task_info *next;