freebsd-ports/emulators/bsnes/files/patch-serialization.cpp
Max Brazhnikov 7789f697c2 Update ports to 0.68
PR:		ports/150220
Submitted by:	Emmanuel Vadot (maintainer)
2010-09-04 09:31:08 +00:00

11 lines
460 B
C++

--- bsnes/snes/system/serialization.cpp.orig 2010-09-02 13:16:20.000000000 +0200
+++ bsnes/snes/system/serialization.cpp 2010-09-02 13:23:12.000000000 +0200
@@ -7,7 +7,7 @@
char profile[16], description[512];
memset(&profile, 0, sizeof profile);
memset(&description, 0, sizeof description);
- strlcpy(profile, Info::Profile, sizeof profile);
+ nall::strlcpy(profile, Info::Profile, sizeof profile);
s.integer(signature);
s.integer(version);