crypt32: snprintf format string fix

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Oct 2 16:22:17 CDT 2006


Changelog:
    crypt32: snprintf format string fix.

diff -urN a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
--- a/dlls/crypt32/oid.c	2006-09-12 23:59:29.000000000 +0100
+++ b/dlls/crypt32/oid.c	2006-10-02 22:04:32.000000000 +0100
@@ -159,7 +159,7 @@
      */
     if (!HIWORD(pszOID))
     {
-        snprintf(numericOID, sizeof(numericOID), "#%d", LOWORD(pszOID));
+        snprintf(numericOID, sizeof(numericOID), "#%hu", LOWORD(pszOID));
         oid = numericOID;
     }
     else



More information about the wine-patches mailing list