Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: gcc/libiberty/pex-common.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/libiberty/pex-common.h ('k') | gcc/libiberty/pex-unix.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/libiberty/pex-common.c
diff --git a/gcc/libiberty/pex-common.c b/gcc/libiberty/pex-common.c
index 7f355365edafd192fa2a0d46f8a733ba95fda2ad..9a9fe2419570888171fc4460aa8665a10c6bfde3 100644
--- a/gcc/libiberty/pex-common.c
+++ b/gcc/libiberty/pex-common.c
@@ -160,7 +160,7 @@ pex_run_in_environment (struct pex_obj *obj, int flags, const char *executable,
int outname_allocated;
int p[2];
int toclose;
- long pid;
+ pid_t pid;
in = -1;
out = -1;
@@ -345,7 +345,7 @@ pex_run_in_environment (struct pex_obj *obj, int flags, const char *executable,
goto error_exit;
++obj->count;
- obj->children = XRESIZEVEC (long, obj->children, obj->count);
+ obj->children = XRESIZEVEC (pid_t, obj->children, obj->count);
obj->children[obj->count - 1] = pid;
return NULL;
« no previous file with comments | « gcc/libiberty/pex-common.h ('k') | gcc/libiberty/pex-unix.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698