update FSF postal address (Jeremy Laine)
[librfid] / src / rfid_asic_rc632.c
index 0560d09..0ba4dc5 100644 (file)
@@ -16,7 +16,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
 #include <unistd.h>
 
 #include "rfid_iso14443_common.h"
 #include "rc632.h"
-//#include "rc632_14443a.h"
 
+#ifdef  __MINGW32__
+#include "usleep.h"
+#endif/*__MINGW32__*/
 
 #define RC632_TMO_AUTH1        140
 
@@ -608,7 +610,7 @@ rc632_open(struct rfid_asic_transport_handle *th)
                return NULL;
        memset(h, 0, sizeof(*h));
 
-       h->asic = &rc632;
+       h->asic = (void*)&rc632;
        h->rath = th;
        h->fc = h->asic->fc;
        /* FIXME: this is only cm5121 specific, since the latency