Commit 3d7f4bdc authored by deuce's avatar deuce
Browse files

User number is unsigned.

parent 37abc3e3
......@@ -847,7 +847,7 @@ int edit_comment(scfg_t *cfg, user_t *user)
char str[1024];
char editor[1024];
sprintf(str,"%s %suser/%04d.msg",geteditor(editor),cfg->data_dir,user->number);
sprintf(str,"%s %suser/%04u.msg",geteditor(editor),cfg->data_dir,user->number);
do_cmd(str);
return(0);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment