summaryrefslogtreecommitdiff
path: root/base/stats
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-01-21 11:29:19 -0500
committerNathan Binkert <binkertn@umich.edu>2005-01-21 11:29:19 -0500
commit2b57a1b8c125d9347c5ea2f52a8e7fa608b268ff (patch)
tree2245aad7d14a1447039c75baf9c1a7f60224d04e /base/stats
parentbe12fb379f6e58e76476912272df7bcaa81d330b (diff)
downloadgem5-2b57a1b8c125d9347c5ea2f52a8e7fa608b268ff.tar.xz
Fix some mysql code issues.
base/stats/events.cc: cast this to an unsigned long long to make the compiler happy on 64-bit platforms. --HG-- extra : convert_revision : e893d21bb228cbfb0c23adb7c4eeb1f62209ca1c
Diffstat (limited to 'base/stats')
-rw-r--r--base/stats/events.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/stats/events.cc b/base/stats/events.cc
index e5efceabe..d716fa4d3 100644
--- a/base/stats/events.cc
+++ b/base/stats/events.cc
@@ -134,7 +134,7 @@ InsertEvent::insert(const string &stat)
first = false;
size += sprintf(query + size, "(%u,%u,%llu)",
- event, run, curTick);
+ event, run, (unsigned long long)curTick);
}
void