summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorDaniel Jour <[email protected]>2020-07-10 11:17:46 +0200
committerGitHub <[email protected]>2020-07-10 11:17:46 +0200
commit2d4956feeb75adf4aa64cc9ed68cb45b3fab5865 (patch)
tree7a19c528f2afda2f040a293765c3b611d2a99281 /examples
parent871cd1a76a41e9e7882ad51dbcd13e5f044a80a1 (diff)
downloadraylib-2d4956feeb75adf4aa64cc9ed68cb45b3fab5865.tar.gz
raylib-2d4956feeb75adf4aa64cc9ed68cb45b3fab5865.zip
Fix format-security error in rlgl_standalone.c (#1305)
See #1304
Diffstat (limited to 'examples')
-rw-r--r--examples/others/rlgl_standalone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/others/rlgl_standalone.c b/examples/others/rlgl_standalone.c
index 8f2e2b46..be194bf9 100644
--- a/examples/others/rlgl_standalone.c
+++ b/examples/others/rlgl_standalone.c
@@ -219,7 +219,7 @@ int main(void)
// GLFW3: Error callback
static void ErrorCallback(int error, const char *description)
{
- fprintf(stderr, description);
+ fprintf(stderr, "%s", description);
}
// GLFW3: Keyboard callback