tests: Fix a compiler warning in tests -fpermissive
Prusa-Firmware/tests/../Firmware/util.h:114:25: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
114 | pStrEnd = strchr(this->ptr, '"');
| ~~~~~~^~~~~~~~~~~~~~~~
| |
| const char*
This commit is contained in:
parent
428091b7c7
commit
10d156b28c
|
|
@ -96,7 +96,7 @@ public:
|
||||||
: len(0)
|
: len(0)
|
||||||
, found(false)
|
, found(false)
|
||||||
{
|
{
|
||||||
char * pStrEnd = NULL;
|
const char * pStrEnd = NULL;
|
||||||
|
|
||||||
// Start of the string
|
// Start of the string
|
||||||
this->ptr = strchr(pStr, '"');
|
this->ptr = strchr(pStr, '"');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue