Skip to content
Commit 26c2a8df authored by Andrew Price's avatar Andrew Price
Browse files

Fix a format overflow warning

On gcc 7:

edit.c: In function ‘edit_user’:
edit.c:391:24: error: ‘sprintf’ writing a terminating nul past the end of the destination [-Werror=format-overflow=]
    sprintf(text, "s%05d", newroom);
parent 240518f4
Loading
Loading
Loading
Pipeline #302 passed with stage
in 7 minutes and 1 second
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment