From 2b57a1b8c125d9347c5ea2f52a8e7fa608b268ff Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Fri, 21 Jan 2005 11:29:19 -0500 Subject: 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 --- base/stats/events.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base') 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 -- cgit v1.2.3