Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ikspress committed Jul 12, 2024
1 parent 805a939 commit 2def938
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libnfc/drivers/acr122s.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ acr122s_scan(const nfc_context *context, nfc_connstring connstrings[], const siz
size_t device_found = 0;
serial_port sp;
char **acPorts = uart_list_ports();
const char *acPort;
char *acPort;
int iDevice = 0;

while ((acPort = acPorts[iDevice++])) {
Expand Down
2 changes: 1 addition & 1 deletion libnfc/drivers/arygon.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ arygon_scan(const nfc_context *context, nfc_connstring connstrings[], const size
size_t device_found = 0;
serial_port sp;
char **acPorts = uart_list_ports();
const char *acPort;
char *acPort;
int iDevice = 0;

while ((acPort = acPorts[iDevice++])) {
Expand Down
2 changes: 1 addition & 1 deletion libnfc/drivers/pn532_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pn532_uart_scan(const nfc_context *context, nfc_connstring connstrings[], const
size_t device_found = 0;
serial_port sp;
char **acPorts = uart_list_ports();
const char *acPort;
char *acPort;
int iDevice = 0;

while ((acPort = acPorts[iDevice++])) {
Expand Down

0 comments on commit 2def938

Please sign in to comment.