Author: jpeach
Date: 2006-05-09 01:34:31 +0000 (Tue, 09 May 2006)
New Revision: 15516

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15516

Log:
Use SMB_BIG_UINT in preference to unsigned long long.

Modified:
   branches/SAMBA_3_0/source/include/smbprofile.h
   trunk/source/include/smbprofile.h


Changeset:
Modified: branches/SAMBA_3_0/source/include/smbprofile.h
===================================================================
--- branches/SAMBA_3_0/source/include/smbprofile.h      2006-05-08 23:30:40 UTC 
(rev 15515)
+++ branches/SAMBA_3_0/source/include/smbprofile.h      2006-05-09 01:34:31 UTC 
(rev 15516)
@@ -423,7 +423,7 @@
 
 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 @@
 
 #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 @@
        }
 
 #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); \

Modified: trunk/source/include/smbprofile.h
===================================================================
--- trunk/source/include/smbprofile.h   2006-05-08 23:30:40 UTC (rev 15515)
+++ trunk/source/include/smbprofile.h   2006-05-09 01:34:31 UTC (rev 15516)
@@ -423,7 +423,7 @@
 
 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 @@
 
 #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 @@
        }
 
 #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); \

Reply via email to