Commit ac8a1965 by Sebastian Huber Committed by Sebastian Huber

[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
parent 1aa5ba4e
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> 2015-10-13 Jakub Jelinek <jakub@redhat.com>
Aldy Hernandez <aldyh@redhat.com> Aldy Hernandez <aldyh@redhat.com>
Ilya Verbin <ilya.verbin@intel.com> Ilya Verbin <ilya.verbin@intel.com>
......
...@@ -481,7 +481,7 @@ omp_get_place_num_procs_8_ (const int64_t *place_num) ...@@ -481,7 +481,7 @@ omp_get_place_num_procs_8_ (const int64_t *place_num)
void void
omp_get_place_proc_ids_ (const int32_t *place_num, int32_t *ids) 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 void
...@@ -505,7 +505,7 @@ omp_get_partition_num_places_ (void) ...@@ -505,7 +505,7 @@ omp_get_partition_num_places_ (void)
void void
omp_get_partition_place_nums_ (int32_t *place_nums) 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 void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment