From: Nathan Binkert Date: Fri, 21 Jan 2005 16:29:19 +0000 (-0500) Subject: Fix some mysql code issues. X-Git-Tag: m5_1.0_tutorial~98^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b57a1b8c125d9347c5ea2f52a8e7fa608b268ff;p=gem5.git 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 --- 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