VirtualBox

儲存庫 vbox 的更動 62809


忽略:
時間撮記:
2016-8-1 下午12:06:33 (8 年 以前)
作者:
vboxsync
訊息:

util/pixel.c: Use 'intptr_t' instead of 'long' for pointer casing (harmless).

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/GuestHost/OpenGL/util/pixel.c

    r53726 r62809  
    15551555        /* handle the alignment */
    15561556        if (srcPacking->alignment != 1) {
    1557             i = ((long) src) % srcPacking->alignment;
     1557            i = ((intptr_t) src) % srcPacking->alignment;
    15581558            if (i)
    15591559                src += srcPacking->alignment - i;
     
    15641564
    15651565        if (dstPacking->alignment != 1) {
    1566             i = ((long) dst) % dstPacking->alignment;
     1566            i = ((intptr_t) dst) % dstPacking->alignment;
    15671567            if (i)
    15681568                dst += dstPacking->alignment - i;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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