Changeset 109544 in webkit


Ignore:
Timestamp:
Mar 2, 2012 2:55:35 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Build warning : comparison between signed and unsigned integer expressions.
https://bugs.webkit.org/show_bug.cgi?id=79860

Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-03-02
Reviewed by Hajime Morita.

Fixed build warnings which are getting generated when comparing signed
and unsigned integer expressions.

  • Source/WebCore/bindings/js/JSDocumentCustom.cpp:
  • Source/WebCore/platform/ContextMenu.cpp:
  • Source/WebKit/efl/ewk/ewk_view_single.cpp:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r109542 r109544  
     12012-03-02  Byungwoo Lee  <bw80.lee@samsung.com>
     2
     3        [EFL] Build warning : comparison between signed and unsigned integer expressions.
     4        https://bugs.webkit.org/show_bug.cgi?id=79860
     5
     6        Reviewed by Hajime Morita.
     7
     8        Fixed build warnings which are getting generated when comparing signed
     9        and unsigned integer expressions.
     10
     11        * Source/WebCore/bindings/js/JSDocumentCustom.cpp:
     12        * Source/WebCore/platform/ContextMenu.cpp:
     13        * Source/WebKit/efl/ewk/ewk_view_single.cpp:
     14
    1152012-03-02  Simon Hausmann  <simon.hausmann@nokia.com>
    216
  • trunk/Source/WebCore/bindings/js/JSDocumentCustom.cpp

    r105698 r109544  
    120120    RefPtr<TouchList> touchList = TouchList::create();
    121121
    122     for (int i = 0; i < exec->argumentCount(); i++)
     122    for (size_t i = 0; i < exec->argumentCount(); i++)
    123123        touchList->append(toTouch(exec->argument(i)));
    124124
  • trunk/Source/WebCore/platform/ContextMenu.cpp

    r95901 r109544  
    3939    for (size_t i = 0; i < items.size(); ++i) {
    4040        const ContextMenuItem& item = items[i];
    41         if (item.action() == action)
     41        if (item.action() == static_cast<ContextMenuAction>(action))
    4242            return &item;
    4343        if (item.type() != SubmenuType)
  • trunk/Source/WebKit/efl/ewk/ewk_view_single.cpp

    r106904 r109544  
    107107    uint32_t* source, * destination;
    108108    if (sourceX >= destinationX) {
    109         for (int i = 0; i < copyHeight; i++) {
     109        for (size_t i = 0; i < copyHeight; i++) {
    110110            source = sourceBegin + (frameWidth * startHeight);
    111111            destination = destinationBegin + (frameWidth * startHeight);
     
    114114        }
    115115    } else {
    116         for (int i = 0; i < copyHeight; i++) {
     116        for (size_t i = 0; i < copyHeight; i++) {
    117117            source = sourceBegin + (frameWidth * startHeight);
    118118            destination = destinationBegin + (frameWidth * startHeight);
Note: See TracChangeset for help on using the changeset viewer.