Browse Source

Fix format-security error in rlgl_standalone.c (#1305)

See #1304
Daniel Jour 5 years ago
parent
commit
2d4956feeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/others/rlgl_standalone.c

+ 1 - 1
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