rpmfi * fip, Header h, int isSrc)
{
int _addDotSlash = !(isSrc || rpmExpandNumeric("%{_noPayloadPrefix}"));
- int apathlen = 0;
- int dpathlen = 0;
- int skipLen = 0;
+ size_t apathlen = 0;
+ size_t dpathlen = 0;
+ size_t skipLen = 0;
size_t fnlen;
FileListRec flp;
char buf[BUFSIZ];
break;
case POPT_TARGETPLATFORM:
if (rba->targets) {
- int len = strlen(rba->targets) + 1 + strlen(arg) + 1;
+ size_t len = strlen(rba->targets) + 1 + strlen(arg) + 1;
rba->targets = xrealloc(rba->targets, len);
strcat(rba->targets, ",");
} else {
#include "system.h"
-#include <signal.h> /* getOutputFrom() */
+#include <signal.h>
#include <rpm/rpmbuild.h>
#include <rpm/argv.h>
* @return buffered stdout from script, NULL on error
*/
static StringBuf getOutputFrom(const char * dir, ARGV_t argv,
- const char * writePtr, int writeBytesLeft,
+ const char * writePtr, size_t writeBytesLeft,
int failNonZero)
{
pid_t child, reaped;
int ec = -1;
StringBuf sb = NULL;
const char * buf_stdin = NULL;
- int buf_stdin_len = 0;
+ size_t buf_stdin_len = 0;
int xx;
if (sb_stdoutp)