mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
fix(command): make call to ProcessString() valid by first making const pointer to buffer
This commit is contained in:
parent
d374107fb6
commit
769dc4a527
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ static int32_t ProcessFile(const char* filename, PROCESSING* processing, CMDDEF*
|
|||
|
||||
buffer[bytesread] = '\0';
|
||||
|
||||
auto curr = buffer;
|
||||
const char* curr = buffer;
|
||||
auto status = ProcessString(&curr, processing, nextarg, extracallback, errorcallback);
|
||||
|
||||
SMemFree(buffer, __FILE__, __LINE__, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue