From: Wolfgang Bumiller Date: Thu, 20 Dec 2012 14:46:31 +0000 (+0100) Subject: sscanf_s only for _MSC_VER not WIN32 in exec.c X-Git-Tag: 0.1.9~10 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=b02c4e4d10549c5264d461e41c0ef13fdf816f6d;p=xonotic%2Fgmqcc.git sscanf_s only for _MSC_VER not WIN32 in exec.c --- diff --git a/exec.c b/exec.c index b8f74ac..5af6785 100644 --- a/exec.c +++ b/exec.c @@ -814,7 +814,7 @@ static void prog_main_setparams(qc_program *prog) arg->vector[2] = 0; switch (main_params[i].vtype) { case TYPE_VECTOR: -#ifdef WIN32 +#ifdef _MSC_VER (void)sscanf_s(main_params[i].value, " %f %f %f ", &arg->vector[0], &arg->vector[1],