Commit 8a12a305 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

rsaenh: Enable compilation with long types.

parent b67a843c
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = rsaenh.dll MODULE = rsaenh.dll
IMPORTLIB = rsaenh IMPORTLIB = rsaenh
IMPORTS = bcrypt crypt32 advapi32 IMPORTS = bcrypt crypt32 advapi32
......
...@@ -95,7 +95,7 @@ BOOL is_valid_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwTyp ...@@ -95,7 +95,7 @@ BOOL is_valid_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwTyp
unsigned int index = HANDLE2INDEX(handle); unsigned int index = HANDLE2INDEX(handle);
BOOL ret = FALSE; BOOL ret = FALSE;
TRACE("(lpTable=%p, handle=%ld)\n", lpTable, handle); TRACE("(lpTable=%p, handle=%Id)\n", lpTable, handle);
EnterCriticalSection(&lpTable->mutex); EnterCriticalSection(&lpTable->mutex);
...@@ -230,7 +230,7 @@ BOOL release_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType ...@@ -230,7 +230,7 @@ BOOL release_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType
OBJECTHDR *pObject; OBJECTHDR *pObject;
BOOL ret = FALSE; BOOL ret = FALSE;
TRACE("(lpTable=%p, handle=%ld)\n", lpTable, handle); TRACE("(lpTable=%p, handle=%Id)\n", lpTable, handle);
EnterCriticalSection(&lpTable->mutex); EnterCriticalSection(&lpTable->mutex);
...@@ -240,7 +240,7 @@ BOOL release_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType ...@@ -240,7 +240,7 @@ BOOL release_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType
pObject = lpTable->paEntries[index].pObject; pObject = lpTable->paEntries[index].pObject;
if (InterlockedDecrement(&pObject->refcount) == 0) if (InterlockedDecrement(&pObject->refcount) == 0)
{ {
TRACE("destroying handle %ld\n", handle); TRACE("destroying handle %Id\n", handle);
if (pObject->destructor) if (pObject->destructor)
pObject->destructor(pObject); pObject->destructor(pObject);
} }
...@@ -273,7 +273,7 @@ BOOL lookup_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType, ...@@ -273,7 +273,7 @@ BOOL lookup_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType,
{ {
BOOL ret = FALSE; BOOL ret = FALSE;
TRACE("(lpTable=%p, handle=%ld, lplpObject=%p)\n", lpTable, handle, lplpObject); TRACE("(lpTable=%p, handle=%Id, lplpObject=%p)\n", lpTable, handle, lplpObject);
EnterCriticalSection(&lpTable->mutex); EnterCriticalSection(&lpTable->mutex);
if (!is_valid_handle(lpTable, handle, dwType)) if (!is_valid_handle(lpTable, handle, dwType))
...@@ -309,7 +309,7 @@ BOOL copy_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType, H ...@@ -309,7 +309,7 @@ BOOL copy_handle(struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType, H
OBJECTHDR *pObject; OBJECTHDR *pObject;
BOOL ret; BOOL ret;
TRACE("(lpTable=%p, handle=%ld, copy=%p)\n", lpTable, handle, copy); TRACE("(lpTable=%p, handle=%Id, copy=%p)\n", lpTable, handle, copy);
EnterCriticalSection(&lpTable->mutex); EnterCriticalSection(&lpTable->mutex);
if (!lookup_handle(lpTable, handle, dwType, &pObject)) if (!lookup_handle(lpTable, handle, dwType, &pObject))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment