From: yujian Date: Sat, 17 Feb 2007 07:52:44 +0000 (+0000) Subject: A __u64 is not always a long long. On some architectures it is only a X-Git-Tag: 1.4.10~141 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=0cc8befa64c34f9efba3714d455fd45662c0f12e;p=fs%2Flustre-release.git A __u64 is not always a long long. On some architectures it is only a long. Let's declare write_bytes as unsigned long long. --- diff --git a/lustre/utils/loadgen.c b/lustre/utils/loadgen.c index 2e57ccd..9b974a1 100644 --- a/lustre/utils/loadgen.c +++ b/lustre/utils/loadgen.c @@ -150,7 +150,7 @@ struct command_t *trigger_cmd = NULL; pthread_mutex_t m_trigger = PTHREAD_MUTEX_INITIALIZER; pthread_cond_t cv_trigger = PTHREAD_COND_INITIALIZER; -__u64 write_bytes; +unsigned long long write_bytes; pthread_mutex_t m_count = PTHREAD_MUTEX_INITIALIZER; static void trigger(struct command_t *cmd, int count)