diff --git a/test/test_access_storm.c b/test/test_access_storm.c index ead2190..0fdc253 100644 --- a/test/test_access_storm.c +++ b/test/test_access_storm.c @@ -32,7 +32,7 @@ test_access_storm (void) nfc_device *device; nfc_target ant[MAX_TARGET_COUNT]; - device = nfc_connect (&(connstrings[i])); + device = nfc_connect (connstrings[i]); cut_assert_not_null (device, cut_message ("nfc_connect")); res = nfc_initiator_init(device); diff --git a/test/test_dep.c b/test/test_dep.c index 3c7312a..a065ff6 100644 --- a/test/test_dep.c +++ b/test/test_dep.c @@ -33,8 +33,8 @@ cut_setup (void) cut_omit ("At least two NFC devices must be plugged-in to run this test"); } - devices[TARGET] = nfc_connect (&connstrings[TARGET]); - devices[INITIATOR] = nfc_connect (&connstrings[INITIATOR]); + devices[TARGET] = nfc_connect (connstrings[TARGET]); + devices[INITIATOR] = nfc_connect (connstrings[INITIATOR]); signal (SIGINT, abort_test_by_keypress); } diff --git a/test/test_register_access.c b/test/test_register_access.c index 9363f9f..8bcab33 100644 --- a/test/test_register_access.c +++ b/test/test_register_access.c @@ -19,7 +19,7 @@ test_register_endianness (void) nfc_device *device; - device = nfc_connect (&(connstrings[0])); + device = nfc_connect (connstrings[0]); cut_assert_not_null (device, cut_message ("nfc_connect")); uint8_t value; diff --git a/test/test_register_endianness.c b/test/test_register_endianness.c index 2f7e6e5..479837b 100644 --- a/test/test_register_endianness.c +++ b/test/test_register_endianness.c @@ -20,7 +20,7 @@ test_register_endianness (void) nfc_device *device; - device = nfc_connect (&(connstrings[0])); + device = nfc_connect (connstrings[0]); cut_assert_not_null (device, cut_message ("nfc_connect")); uint8_t value;