diff options
author | sh <sh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-14 08:30:52 +0000 |
---|---|---|
committer | sh <sh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-14 08:30:52 +0000 |
commit | 5725a2a88ac403a3aa891363ffbd33fe4e477835 (patch) | |
tree | 8856173558472045cc089eafdf566c2013bc684e /libgomp/fortran.c | |
parent | 0cb9d971fdaf6de30d7ad6de9c74a2ed87ae33c3 (diff) | |
download | gcc-5725a2a88ac403a3aa891363ffbd33fe4e477835.tar.gz |
[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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228805 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/fortran.c')
-rw-r--r-- | libgomp/fortran.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/fortran.c b/libgomp/fortran.c index ceff9ac48e6..87882a11a76 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 |