winverbs: fixes to support OFED compatibility libraries and ND
[mirror/winof/.git] / core / winverbs / user / wv_provider.h
index 581f83c..5daa4c7 100644 (file)
@@ -49,7 +49,7 @@ public:
        STDMETHODIMP_(HANDLE) GetFileHandle();\r
        STDMETHODIMP QueryDeviceList(NET64* pGuidList, SIZE_T* pBufferSize);\r
        STDMETHODIMP QueryDevice(NET64 Guid, WV_DEVICE_ATTRIBUTES* pAttributes);\r
-       STDMETHODIMP TranslateAddress(SOCKADDR* pAddress,\r
+       STDMETHODIMP TranslateAddress(const SOCKADDR* pAddress,\r
                                                                  WV_DEVICE_ADDRESS* pDeviceAddress);\r
 \r
        STDMETHODIMP OpenDevice(NET64 Guid, IWVDevice** ppDevice);\r