VirtualBox

Changeset 85210 in vbox for trunk/src/VBox/Main/src-all


Ignore:
Timestamp:
Jul 11, 2020 10:51:30 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139187
Message:

Main/DisplayResampleImage.cpp: sign error/warning fix for Clang 11. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/DisplayResampleImage.cpp

    r82968 r85210  
    8989                    FIXEDPOINT xportion;
    9090                    FIXEDPOINT pcontribution;
    91                     int p;
    9291                    if (FIXEDPOINT_FLOOR (sx) == FIXEDPOINT_FLOOR (sx1))
    9392                    {
     
    111110                    }
    112111                    /* Color depth specific code begin */
    113                     p = *(uint32_t *)(pu8SrcLine + FIXEDPOINT_TO_INT(sx) * 4);
     112                    int32_t p = *(int32_t *)(pu8SrcLine + FIXEDPOINT_TO_INT(sx) * 4);
    114113                    /* Color depth specific code end */
    115114                    red   += trueColorGetRed (p) * pcontribution;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette