http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fed06a5
)
dpnet: Fixed bad pointer addition (Coverity).
author
Marcus Meissner
<marcus@jet.franken.de>
Sat, 24 Sep 2011 08:42:04 +0000
(10:42 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 26 Sep 2011 15:58:07 +0000
(17:58 +0200)
dlls/dpnet/peer.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/dpnet/peer.c
b/dlls/dpnet/peer.c
index 5b89fb4842c771b4a936d53d541eb27a02f27dbf..b3eb9cd1d3c9db1bf529c3834317b4f1edd668e0 100644
(file)
--- a/
dlls/dpnet/peer.c
+++ b/
dlls/dpnet/peer.c
@@
-127,7
+127,7
@@
static HRESULT WINAPI IDirectPlay8PeerImpl_EnumServiceProviders(IDirectPlay8Peer
return DPNERR_BUFFERTOOSMALL;
}
- pSPInfoBuffer->pwszName = (LPWSTR)(pSPInfoBuffer +
sizeof(DPN_SERVICE_PROVIDER_INFO)
);
+ pSPInfoBuffer->pwszName = (LPWSTR)(pSPInfoBuffer +
1
);
if(!pguidServiceProvider)
{