Bug 1015871 - Wrong uint32_t type when reading the number of touch events in nsGuiEventIPC.h. r=smaug

This commit is contained in:
Vivien Nicolas 2014-06-04 20:11:05 +02:00
parent 3490404f12
commit b6a3d5208d

View File

@ -260,7 +260,7 @@ struct ParamTraits<mozilla::WidgetTouchEvent>
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
{
uint32_t numTouches;
size_t numTouches;
if (!ReadParam(aMsg, aIter,
static_cast<mozilla::WidgetInputEvent*>(aResult)) ||
!ReadParam(aMsg, aIter, &numTouches)) {