Michael Stefaniuc : crypt32: Avoid using HIWORD() on a string pointer.

Alexandre Julliard julliard at winehq.org
Fri Jan 29 10:56:34 CST 2010


Module: wine
Branch: master
Commit: 0a866d0e4599b91cef247da883b0a93ccf7c0681
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0a866d0e4599b91cef247da883b0a93ccf7c0681

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Jan 29 01:39:26 2010 +0100

crypt32: Avoid using HIWORD() on a string pointer.

The stray IS_INTRESOURCE() is applied to a true resource. The other
strings are OIDs and not resources.

---

 dlls/crypt32/chain.c           |    2 +-
 dlls/crypt32/crypt32_private.h |    4 ++++
 dlls/crypt32/decode.c          |    2 +-
 dlls/crypt32/encode.c          |    2 +-
 dlls/crypt32/object.c          |    2 +-
 dlls/crypt32/oid.c             |   12 ++++++------
 dlls/crypt32/store.c           |    2 +-
 dlls/crypt32/tests/chain.c     |   22 ++++++++++++----------
 8 files changed, 27 insertions(+), 21 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=0a866d0e4599b91cef247da883b0a93ccf7c0681



More information about the wine-cvs mailing list