changed all long to DWORD, now corrected former unsigned long; refs #33

master
Marc Wäckerlin 10 years ago
parent 40f64d476e
commit 6559f229b2
  1. 6
      src/pcsc.hxx

@ -210,9 +210,9 @@ namespace pcsc {
//! State and attribute list of a reader.
class Status {
public:
Status(unsigned DWORD s, const std::string& a):
Status(DWORD s, const std::string& a):
state(s), atr(a) {}
const unsigned DWORD state;
const DWORD state;
const std::string atr;
};
@ -319,7 +319,7 @@ namespace pcsc {
/*!
* @note Take care: Strings may contain embedded @c 0.
*/
std::string control(unsigned DWORD controlCode,
std::string control(DWORD controlCode,
std::string in) {
DWORD len(256); // arbitrary
UCHAR dataBuffer[256];

Loading…
Cancel
Save