r15516: Use SMB_BIG_UINT in preference to unsigned long long.
authorJames Peach <jpeach@samba.org>
Tue, 9 May 2006 01:34:31 +0000 (01:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:16:55 +0000 (11:16 -0500)
source/include/smbprofile.h

index fb5fa078c1c47b385e00e0d52536fa806fc0cf02..b8a9a49be1aba76e1916823cc13db73682f77569 100644 (file)
@@ -423,7 +423,7 @@ extern BOOL do_profile_times;
 
 extern clockid_t __profile_clock;
 
-static inline unsigned long long profile_timestamp(void)
+static inline SMB_BIG_UINT profile_timestamp(void)
 {
        struct timespec ts;
 
@@ -438,7 +438,7 @@ static inline unsigned long long profile_timestamp(void)
 
 #else
 
-static inline unsigned long long profile_timestamp(void)
+static inline SMB_BIG_UINT profile_timestamp(void)
 {
        struct timeval tv;
        GetTimeOfDay(&tv);
@@ -471,14 +471,14 @@ static inline unsigned long long profile_timestamp(void)
        }
 
 #define START_PROFILE(x) \
-       unsigned long long __profstamp_##x = 0; \
+       SMB_BIG_UINT __profstamp_##x = 0; \
        if (do_profile_flag) { \
                __profstamp_##x = do_profile_times ? profile_timestamp() : 0;\
                INC_PROFILE_COUNT(x##_count); \
        }
 
 #define START_PROFILE_BYTES(x,n) \
-       unsigned long long __profstamp_##x = 0; \
+       SMB_BIG_UINT __profstamp_##x = 0; \
        if (do_profile_flag) { \
                __profstamp_##x = do_profile_times ? profile_timestamp() : 0;\
                INC_PROFILE_COUNT(x##_count); \