Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37420915
en ru br
ALT Linux repos
S:1.1.1-alt1

Group :: System/Kernel and hardware
RPM: ideviceinstaller

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alt-fix-build.patch
Download


--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -980,7 +980,7 @@ run_again:
 			char *ibuf = malloc(filesize * sizeof(char));
 			size_t amount = fread(ibuf, 1, filesize, fp);
 			if (amount != filesize) {
-				fprintf(stderr, "ERROR: could not read %ld bytes from %s\n", filesize, filename);
+				fprintf(stderr, "ERROR: could not read %zu bytes from %s\n", filesize, filename);
 				free(filename);
 				res = -1;
 				goto leave_cleanup;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin