Skip to content

Commit 6ca5f43

Browse files
committed
MCU8MASS-1943 Fix a compiler warning about implicit type conversion
1 parent 234941c commit 6ca5f43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/provision/provision.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ static bool requestAndSaveToNonVolatileMemory(const char* message,
549549
if (is_certificate) {
550550
// First erase the existing certifiate at the slot (if any)
551551
sprintf(command, AT_ERASE_CERTIFICATE, slot);
552-
SequansController.writeBytes(command, strlen(command), true);
552+
SequansController.writeBytes((uint8_t*)command, strlen(command), true);
553553

554554
// Dummy read of response, we don't care about the response as the modem
555555
// will return an error if there's no certificate to erase and OK if it
@@ -559,7 +559,7 @@ static bool requestAndSaveToNonVolatileMemory(const char* message,
559559
sprintf(command, AT_WRITE_CERTIFICATE, slot, data_length);
560560
} else {
561561
sprintf(command, AT_ERASE_PRIVATE_KEY, slot);
562-
SequansController.writeBytes(command, strlen(command), true);
562+
SequansController.writeBytes((uint8_t*)command, strlen(command), true);
563563

564564
// Dummy read of response, we don't care about the response as the modem
565565
// will return an error if there's no certificate to erase and OK if it

0 commit comments

Comments
 (0)