* [gentoo-commits] gentoo-x86 commit in dev-db/lib_mysqludf_log/files: lib_mysqludf_log-warnings.patch
@ 2011-10-19 12:15 Stefan Briesenick (sbriesen)
0 siblings, 0 replies; only message in thread
From: Stefan Briesenick (sbriesen) @ 2011-10-19 12:15 UTC (permalink / raw
To: gentoo-commits
sbriesen 11/10/19 12:15:37
Added: lib_mysqludf_log-warnings.patch
Log:
initial commit
(Portage version: 2.2.0_alpha67/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-db/lib_mysqludf_log/files/lib_mysqludf_log-warnings.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_log/files/lib_mysqludf_log-warnings.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/lib_mysqludf_log/files/lib_mysqludf_log-warnings.patch?rev=1.1&content-type=text/plain
Index: lib_mysqludf_log-warnings.patch
===================================================================
--- lib_mysqludf_log.c.orig 2008-07-07 01:17:06.000000000 +0200
+++ lib_mysqludf_log.c 2011-10-18 12:50:52.000000000 +0200
@@ -159,7 +159,7 @@
} else {
fmt = (char *)initid->ptr;
memcpy(fmt, "%0.", 3);
- sprintf(fmt+3, "%d", args->lengths[0]<=9999? args->lengths[0]: 9999);
+ sprintf(fmt+3, "%d", (int)(args->lengths[0]<=9999? args->lengths[0]: 9999));
numDigits = strlen(fmt + 4);
memcpy(fmt + 4 + numDigits, "s\n\0", 3);
fprintf(stderr, fmt, args->args[0]);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-19 12:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19 12:15 [gentoo-commits] gentoo-x86 commit in dev-db/lib_mysqludf_log/files: lib_mysqludf_log-warnings.patch Stefan Briesenick (sbriesen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox