1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-07 12:29:16 -04:00
ports/devel/ocfpcsc/files/patch-OCFPCSC1.cpp
Tilman Keskinoz dddda85f61 Fix warnings reported by clang ++
Update maintainer email address

PR:		156965
Submitted by:	Marcin Cieslak <saper@saper.info>
2011-05-21 19:50:18 +00:00

11 lines
420 B
C++

--- OCFPCSC1.cpp.orig 2011-05-12 01:27:28.000000000 +0200
+++ OCFPCSC1.cpp 2011-05-12 01:31:53.000000000 +0200
@@ -140,7 +140,7 @@
CONTEXT_INFO cInfo;
/* check if context exists */
- if (cPos = isContextAvailable((long)context) < 0) {
+ if ((cPos = isContextAvailable((long)context)) < 0) {
throwPcscException(env, obj, "SCardConnect", "PC/SC Wrapper Error: context not in table", 0);
return 0;
}