Browse files

changing crap to uchars

  • Loading branch information...
1 parent fac4e4d commit 7f326f97e23278a39cb2d201d47b9121a149b375 @tenderlove committed Jun 1, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/nfc/lib_nfc.rb
View
6 lib/nfc/lib_nfc.rb
@@ -32,12 +32,12 @@ def self.release ptr
class ISO1443A < FFI::Struct
layout(
- :abtAtqa, [:char, 2],
- :btSak, :char,
+ :abtAtqa, [:uchar, 2],
+ :btSak, :uchar,
:uiUidLen, :int,
:abtUid, [:uchar, 10],
:uiAtsLen, :int,
- :abtAts, [:char, 36]
+ :abtAts, [:uchar, 36]
)
def uid

0 comments on commit 7f326f9

Please sign in to comment.