Closed Bug 684666 Opened 13 years ago Closed 13 years ago

js/src/methodjit/MonoIC.cpp:1357:51: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: m_kato, Assigned: m_kato)

Details

(Whiteboard: [inbound])

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=6276310&full=1

/usr/bin/ccache /tools/gcc-4.5/bin/g++ -o MonoIC.o -c  -I./../../dist/system_wrappers_js -include /builds/slave/m-in-lnx-dbg/build/js/src/config/gcc_hidden.h -DOSTYPE=\"Linux2.6.18-8\" -DOSARCH=Linux -DEXPORT_JS_API -DIMPL_MFBT -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -Ictypes/libffi/include -I.  -I/builds/slave/m-in-lnx-dbg/build/js/src -I. -I./../../dist/include -I./../../dist/include/nsprpub  -I/builds/slave/m-in-lnx-dbg/build/obj-firefox/dist/include/nspr  -I/builds/slave/m-in-lnx-dbg/build/js/src -I/builds/slave/m-in-lnx-dbg/build/js/src/assembler -I/builds/slave/m-in-lnx-dbg/build/js/src/yarr  -fPIC  -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -gdwarf-2 -fno-tree-vrp -pthread -pipe  -DDEBUG -D_DEBUG -DTRACING -gdwarf-2 -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1   -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/MonoIC.pp /builds/slave/m-in-lnx-dbg/build/js/src/methodjit/MonoIC.cpp

../../../js/src/methodjit/MonoIC.cpp: In function 'void js::mjit::ic::GenerateArgumentCheckStub(js::VMFrame&)':
../../../js/src/methodjit/MonoIC.cpp:1357:51: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
This is by bug 641714.
Attached patch fixSplinter Review
Attachment #558233 - Flags: review?(bhackett1024)
Attachment #558233 - Flags: review?(bhackett1024) → review+
http://hg.mozilla.org/integration/mozilla-inbound/rev/42acb339d8ef
Assignee: general → m_kato
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/42acb339d8ef
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: