Skip to content

Commit

Permalink
Fix compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioheleno committed Feb 1, 2022
1 parent eca31f9 commit 934732f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ PHP_METHOD(UART_Serial, __construct) {
speedBaud = B4000000;
break;
default:
zend_throw_exception_ex(zceException, 0, "Invalid baud rate speed '%d'", baudRate);
zend_throw_exception_ex(zceException, 0, "Invalid baud rate speed '%ld'", baudRate);
close(self->fd);

RETURN_THROWS();
Expand Down

0 comments on commit 934732f

Please sign in to comment.