Commit 19929ba9 by Jakub Jelinek Committed by Jakub Jelinek

plugin-nvptx.c (cuda_lib_inited): Use signed char type instead of char.

	* plugin/plugin-nvptx.c (cuda_lib_inited): Use signed char type
	instead of char.

From-SVN: r246918
parent 09956017
2017-04-13 Jakub Jelinek <jakub@redhat.com>
* plugin/plugin-nvptx.c (cuda_lib_inited): Use signed char type
instead of char.
2017-04-11 Jakub Jelinek <jakub@redhat.com> 2017-04-11 Jakub Jelinek <jakub@redhat.com>
PR libgomp/80394 PR libgomp/80394
......
...@@ -106,7 +106,7 @@ struct cuda_lib_s { ...@@ -106,7 +106,7 @@ struct cuda_lib_s {
/* -1 if init_cuda_lib has not been called yet, false /* -1 if init_cuda_lib has not been called yet, false
if it has been and failed, true if it has been and succeeded. */ if it has been and failed, true if it has been and succeeded. */
static char cuda_lib_inited = -1; static signed char cuda_lib_inited = -1;
/* Dynamically load the CUDA runtime library and initialize function /* Dynamically load the CUDA runtime library and initialize function
pointers, return false if unsuccessful, true if successful. */ pointers, return false if unsuccessful, true if successful. */
......
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