summaryrefslogtreecommitdiff
path: root/gcc/ada/raise.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/raise.c')
-rw-r--r--gcc/ada/raise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/raise.c b/gcc/ada/raise.c
index b0803ae8426..2d7c61a057d 100644
--- a/gcc/ada/raise.c
+++ b/gcc/ada/raise.c
@@ -152,7 +152,7 @@ db_accepted_codes (void)
if (accepted_codes == -1)
{
- char * db_env = getenv ("EH_DEBUG");
+ char * db_env = (char *) getenv ("EH_DEBUG");
accepted_codes = db_env ? (atoi (db_env) | DB_ERR) : 0;
/* Arranged for ERR stuff to always be visible when the variable