File mdp-fix_printf_format.patch of Package mdp

--- src/crc.c.orig	2015-05-22 11:15:56.008593160 +0200
+++ src/crc.c	2015-05-22 11:16:53.395655798 +0200
@@ -126,11 +126,11 @@
 	CKSUM_Final(ctx);
 
 	if (outstr == NULL) {
-		if (asprintf(&outstr, "%u %lld", ctx->crc, ctx->len) == -1)
+		if (asprintf(&outstr, "%u %zd", ctx->crc, ctx->len) == -1)
 			return (NULL);
 	} else {
 		(void)snprintf(outstr, (size_t)CKSUM_DIGEST_STRING_LENGTH,
-		    "%u %lld", ctx->crc, ctx->len);
+		    "%u %zd", ctx->crc, ctx->len);
 	}
 
 	return (outstr);
openSUSE Build Service is sponsored by