Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/appimagetool.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ main (int argc, char *argv[])
}
}
if (verbose)
printf("Size of the embedded runtime: %d bytes\n", size);
printf("Size of the embedded runtime: %zu bytes\n", size);

int result = sfs_mksquashfs(source, destination, size);
if(result != 0)
Expand Down Expand Up @@ -949,7 +949,7 @@ main (int argc, char *argv[])
if(zsyncmake_path){
char buf[1024];
// gh-releases-zsync|probono|AppImages|latest|Subsurface-*x86_64.AppImage.zsync
int ret = snprintf(buf, "gh-releases-zsync|%s|%s|latest|%s*-%s.AppImage.zsync", github_repository_owner, github_repository_name, app_name_for_filename, arch);
int ret = snprintf(buf, sizeof(buf), "gh-releases-zsync|%s|%s|latest|%s*-%s.AppImage.zsync", github_repository_owner, github_repository_name, app_name_for_filename, arch);
if (ret < 0) {
die("snprintf error");
} else if (ret >= sizeof(buf)) {
Expand Down
Loading