VirtualBox

Ignore:
Timestamp:
Aug 5, 2016 12:47:28 AM (8 years ago)
Author:
vboxsync
Message:

GA/NT/Graphics: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/vboxsharedrc.h

    r62522 r63024  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VBox extension to Wine D3D - shared resource
    5  *
     4 */
     5
     6/*
    67 * Copyright (C) 2010-2016 Oracle Corporation
    78 *
     
    1415 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1516 */
     17
    1618#ifndef ___vboxsharedrc_h___
    1719#define ___vboxsharedrc_h___
     
    2123
    2224#define VBOXSHRC_GET_SHAREFLAFS(_o) ((_o)->resource.sharerc_flags)
    23 #define VBOXSHRC_GET_SHAREHANDLE(_o) ((HANDLE)(_o)->resource.sharerc_handle)
    24 #define VBOXSHRC_SET_SHAREHANDLE(_o, _h) ((_o)->resource.sharerc_handle = (DWORD)(_h))
     25#define VBOXSHRC_GET_SHAREHANDLE(_o) ((HANDLE)(uintptr_t)(_o)->resource.sharerc_handle)
     26#define VBOXSHRC_SET_SHAREHANDLE(_o, _h) ((_o)->resource.sharerc_handle = (DWORD)(uintptr_t)(_h))
    2527#define VBOXSHRC_COPY_SHAREDATA(_oDst, _oSrc) do { \
    2628        VBOXSHRC_GET_SHAREFLAFS(_oDst) = VBOXSHRC_GET_SHAREFLAFS(_oSrc);   \
Note: See TracChangeset for help on using the changeset viewer.

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