projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be12fb3
)
Fix some mysql code issues.
author
Nathan Binkert
<binkertn@umich.edu>
Fri, 21 Jan 2005 16:29:19 +0000
(11:29 -0500)
committer
Nathan Binkert
<binkertn@umich.edu>
Fri, 21 Jan 2005 16:29:19 +0000
(11:29 -0500)
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
base/stats/events.cc
patch
|
blob
|
history
diff --git
a/base/stats/events.cc
b/base/stats/events.cc
index e5efceabebd7747e0c692245995ce44c15dc41d1..d716fa4d3e651f3c4b5f0d8d18ba8180f0abd66e 100644
(file)
--- 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