summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-05-09 01:34:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:55 -0500
commita4638ab379e3e9017b5f08f2eb723e802f696f61 (patch)
treea4466494c2e5fb7e7864cfc22f120981043db143 /source3/include
parenta51ce2bfbe6222713a016b955bb21cd5946ac462 (diff)
downloadsamba-a4638ab379e3e9017b5f08f2eb723e802f696f61.tar.gz
samba-a4638ab379e3e9017b5f08f2eb723e802f696f61.tar.bz2
samba-a4638ab379e3e9017b5f08f2eb723e802f696f61.zip
r15516: Use SMB_BIG_UINT in preference to unsigned long long.
(This used to be commit f06d94382fa0f501fb1da7e308012b91a9eadb44)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smbprofile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/smbprofile.h b/source3/include/smbprofile.h
index fb5fa078c1..b8a9a49be1 100644
--- a/source3/include/smbprofile.h
+++ b/source3/include/smbprofile.h
@@ -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); \