mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 978700: Fix warnings about comparison of values with different signs, r=roc
This commit is contained in:
parent
be59808edd
commit
194df565ae
@ -125,7 +125,7 @@ status_t GonkBufferQueue::setTransformHint(uint32_t hint) {
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
||||
int GonkBufferQueue::getGeneration() {
|
||||
uint32_t GonkBufferQueue::getGeneration() {
|
||||
return mGeneration;
|
||||
}
|
||||
|
||||
|
@ -387,7 +387,7 @@ public:
|
||||
// NATIVE_WINDOW_TRANSFORM_ROT_90. The default is 0 (no transform).
|
||||
status_t setTransformHint(uint32_t hint);
|
||||
|
||||
int getGeneration();
|
||||
uint32_t getGeneration();
|
||||
|
||||
SurfaceDescriptor *getSurfaceDescriptorFromBuffer(ANativeWindowBuffer* buffer);
|
||||
|
||||
|
@ -317,7 +317,7 @@ KeyEventDispatcher::KeyEventDispatcher(const UserInputData& aData,
|
||||
{
|
||||
// XXX Printable key's keyCode value should be computed with actual
|
||||
// input character.
|
||||
mDOMKeyCode = (mData.key.keyCode < ArrayLength(kKeyMapping)) ?
|
||||
mDOMKeyCode = (mData.key.keyCode < (ssize_t)ArrayLength(kKeyMapping)) ?
|
||||
kKeyMapping[mData.key.keyCode] : 0;
|
||||
mDOMKeyNameIndex = GetKeyNameIndex(mData.key.keyCode);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user