Browse Source

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

See #1304
Daniel Jour 5 năm trước cách đây
mục cha
commit
2d4956feeb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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