advapi32: Fix the size calculation in StartServiceW.

Robert Shearman rob at codeweavers.com
Thu Jan 31 08:46:07 CST 2008


Calculating an open-ended structure using sizeof doesn't yield an 
accurate size because of alignment.
---
  dlls/advapi32/service.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5f3c14b884f2a7ba0f14364a918568db83326abb.diff
Type: text/x-patch
Size: 918 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080131/2be56bfd/attachment-0001.bin 


More information about the wine-patches mailing list