aboutsummaryrefslogtreecommitdiff
path: root/src/manifest.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-12-23 14:25:59 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-12-23 14:25:59 -0500
commit041e1c818600fe6930b3cb2a33e125e3c28fa929 (patch)
tree5d6766a6d92081cc1b16a28211f0aa68c5fb4cba /src/manifest.c
parent6a4aa30406b19cd4c0bac04cb9bd27996b6380db (diff)
downloadspmc-041e1c818600fe6930b3cb2a33e125e3c28fa929.tar.gz
Remove leftover range check
Diffstat (limited to 'src/manifest.c')
-rw-r--r--src/manifest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manifest.c b/src/manifest.c
index e60599d..7e6802c 100644
--- a/src/manifest.c
+++ b/src/manifest.c
@@ -12,7 +12,7 @@ Manifest *manifest_from(const char *package_dir) {
info->packages = (ManifestPackage **) calloc(info->records + 1, sizeof(ManifestPackage *));
printf("Initializing package manifest:\n");
- for (int i = 0; i < fsdata->files_length && i < 0xffff; i++) {
+ for (int i = 0; i < fsdata->files_length; i++) {
float percent = (((float)i + 1) / fsdata->files_length) * 100;
printf("[%3.0f%%] %s\n", percent, basename(fsdata->files[i]));
Dependencies *deps = NULL;