From 38708addeadf899f6e53aa23094c9c1c07898aff Mon Sep 17 00:00:00 2001 From: Karl Tomlinson Date: Wed, 24 Feb 2010 15:40:41 -0800 Subject: [PATCH] =?UTF-8?q?resolve=20ambiguous=20call=20of=20overloaded=20?= =?UTF-8?q?=E2=80=98AppendInt(long=20unsigned=20int&)=E2=80=99=20b=3D51713?= =?UTF-8?q?3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- toolkit/xre/nsX11ErrorHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolkit/xre/nsX11ErrorHandler.cpp b/toolkit/xre/nsX11ErrorHandler.cpp index 4e4a2bc9b7b5..805f90ada46b 100644 --- a/toolkit/xre/nsX11ErrorHandler.cpp +++ b/toolkit/xre/nsX11ErrorHandler.cpp @@ -139,7 +139,7 @@ X11Error(Display *display, XErrorEvent *event) { notes.Append("; sync"); } else { notes.Append("; "); - notes.AppendInt(age); + notes.AppendInt(PRUint32(age)); notes.Append(" requests ago"); } } @@ -168,7 +168,7 @@ X11Error(Display *display, XErrorEvent *event) { // The resource id is unlikely to be useful in a crash report without // context of other ids, but add it to the debug console output. notes.Append("; id=0x"); - notes.AppendInt(event->resourceid, 16); + notes.AppendInt(PRUint32(event->resourceid), 16); #ifdef MOZ_WIDGET_GTK2 // Actually, for requests where Xlib gets the reply synchronously, // MOZ_X_SYNC=1 will not be necessary, but we don't have a table to tell us