On 2 February 2012 14:57, Stefan Dösinger stefan@codeweavers.com wrote:
+static ULONG get_refcount(IUnknown *test_iface) +{
- IUnknown_AddRef(test_iface);
- return IUnknown_Release(test_iface);
+}
...
- LONG ref;
...
- ref = get_refcount((IUnknown *)d3d);
- ok(ref == 2, "IDirect3D refcount is %d\n", ref);
Well yeah, get_refcount() returns ULONG now, but you should fix the type of "ref" and the format strings as well.
Am Donnerstag, 2. Februar 2012, 15:02:27 schrieb Henri Verbeet:
Well yeah, get_refcount() returns ULONG now, but you should fix the type of "ref" and the format strings as well.
Argh, today is not my day...