aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ocfpcsc/files/patch-PcscExceptions.cpp
blob: 7ea6e82592476aac60f8f88a13024b48c555e90e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- PcscExceptions.cpp.orig 2011-05-12 01:27:15.000000000 +0200
+++ PcscExceptions.cpp  2011-05-12 01:28:07.000000000 +0200
@@ -77,7 +77,7 @@
     /* allocate enough bufferspace for the complete exception message */
     completeMsg = (char *)malloc(strlen(method) + strlen(msg) + 50);
     sprintf(completeMsg, "PCSC Exception in method %s: %s\n" \
-       "return code = %8.8x\n", method, msg,returnCode);
+       "return code = %8.8lx\n", method, msg,returnCode);
 
     if ((exceptionMsg = env->NewStringUTF(completeMsg)) == NULL) {
    free(completeMsg);