bin/xbps-rindex/sign.c: fix a -Wsign-compare warning.

This commit is contained in:
Juan RP 2013-12-24 10:58:55 +01:00
parent ec0d38c469
commit e4b2193786

View File

@ -229,7 +229,7 @@ sign_repo(struct xbps_handle *xhp, const char *repodir,
free(binpkg_sig);
continue;
}
if (write(binpkg_sig_fd, sig, siglen) != siglen) {
if (write(binpkg_sig_fd, sig, siglen) != (ssize_t)siglen) {
fprintf(stderr, "failed to write %s: %s\n", binpkg_sig, strerror(errno));
free(sig);
free(binpkg_sig);