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);
Loading
Please sign in to comment