diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-10-14 08:30:52 +0000 |
---|---|---|
committer | Sebastian Huber <sh@gcc.gnu.org> | 2015-10-14 08:30:52 +0000 |
commit | ac8a1965363534d831c6b784bd69aa18b846402a (patch) | |
tree | 8856173558472045cc089eafdf566c2013bc684e | |
parent | 1aa5ba4e22db332e1ec0f6b018a3eb6163f707ba (diff) | |
download | gcc-ac8a1965363534d831c6b784bd69aa18b846402a.zip gcc-ac8a1965363534d831c6b784bd69aa18b846402a.tar.gz gcc-ac8a1965363534d831c6b784bd69aa18b846402a.tar.bz2 |
[gomp] Fix build for 32-bit targets with int != int32_t
libgomp/
2015-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* fortran.c (omp_get_place_proc_ids_, omp_get_partition_place_nums_):
Cast to int from int32_t.
From-SVN: r228805
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rw-r--r-- | libgomp/fortran.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index df4e937..5480c52 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2015-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * fortran.c (omp_get_place_proc_ids_, omp_get_partition_place_nums_): + Cast to int from int32_t. + 2015-10-13 Jakub Jelinek <jakub@redhat.com> Aldy Hernandez <aldyh@redhat.com> Ilya Verbin <ilya.verbin@intel.com> diff --git a/libgomp/fortran.c b/libgomp/fortran.c index ceff9ac..87882a1 100644 --- a/libgomp/fortran.c +++ b/libgomp/fortran.c @@ -481,7 +481,7 @@ omp_get_place_num_procs_8_ (const int64_t *place_num) void omp_get_place_proc_ids_ (const int32_t *place_num, int32_t *ids) { - omp_get_place_proc_ids (*place_num, ids); + omp_get_place_proc_ids (*place_num, (int *) ids); } void @@ -505,7 +505,7 @@ omp_get_partition_num_places_ (void) void omp_get_partition_place_nums_ (int32_t *place_nums) { - omp_get_partition_place_nums (place_nums); + omp_get_partition_place_nums ((int *) place_nums); } void |