summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/kmp_error.c')
-rw-r--r--openmp/runtime/src/kmp_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_error.c b/openmp/runtime/src/kmp_error.c
index b76c1092f07..825157afb47 100644
--- a/openmp/runtime/src/kmp_error.c
+++ b/openmp/runtime/src/kmp_error.c
@@ -111,7 +111,7 @@ __kmp_expand_cons_stack( int gtid, struct cons_header *p )
// NOTE: Function returns allocated memory, caller must free it!
static char const *
__kmp_pragma(
- enum cons_type ct,
+ int ct,
ident_t const * ident
) {
char const * cons = NULL; // Construct name.
@@ -121,7 +121,7 @@ __kmp_pragma(
kmp_str_buf_t buffer;
kmp_msg_t prgm;
__kmp_str_buf_init( & buffer );
- if ( 0 < ct && ct <= cons_text_c_num ) {;
+ if ( 0 < ct && ct <= cons_text_c_num ) {
cons = cons_text_c[ ct ];
} else {
KMP_DEBUG_ASSERT( 0 );
OpenPOWER on IntegriCloud