Commit 0cc57b34 authored by deuce's avatar deuce
Browse files

Fix clang warnings.

parent 91b98519
......@@ -1915,7 +1915,7 @@ int main(int argc, char** argv) {
sscanf("$Revision$", "%*s %s", revision);
printf("\nSynchronet User Editor %s-%s Copyright %s "
"Rob Swindell\n",revision,PLATFORM_DESC,__DATE__+7);
"Rob Swindell\n",revision,PLATFORM_DESC,&__DATE__[7]);
SAFECOPY(ctrl_dir, get_ctrl_dir());
......
......@@ -832,7 +832,7 @@ int main(int argc, char** argv) {
sscanf("$Revision$", "%*s %s", revision);
printf("\nSynchronet UNIX Monitor %s-%s Copyright %s "
"Rob Swindell\n",revision,PLATFORM_DESC,__DATE__+7);
"Rob Swindell\n",revision,PLATFORM_DESC,&__DATE__[7]);
SAFECOPY(ctrl_dir, get_ctrl_dir());
backslash(ctrl_dir);
......
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