projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef32a6
)
typecast getpid() to (int)
author
ewt
<devnull@localhost>
Wed, 25 Sep 1996 19:11:30 +0000
(19:11 +0000)
committer
ewt
<devnull@localhost>
Wed, 25 Sep 1996 19:11:30 +0000
(19:11 +0000)
CVS patchset: 1043
CVS date: 1996/09/25 19:11:30
install.c
patch
|
blob
|
history
diff --git
a/install.c
b/install.c
index
5c94360
..
0cbe82c
100644
(file)
--- a/
install.c
+++ b/
install.c
@@
-160,7
+160,7
@@
int doInstall(char * rootdir, char ** argv, char * location, int installFlags,
}
packages[i] = alloca(strlen(*filename) + 30 + strlen(rootdir));
sprintf(packages[i], "%s/var/tmp/rpm-ftp-%d-%d.tmp", rootdir,
- tmpnum++, getpid());
+ tmpnum++,
(int)
getpid());
message(MESS_DEBUG, "getting %s as %s\n", *filename, packages[i]);
fd = getFtpURL(*filename + 6, packages[i]);
if (fd < 0) {