aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_utils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm_utils.c b/src/pcm_utils.c
index 9cfb9efc3..3bb900508 100644
--- a/src/pcm_utils.c
+++ b/src/pcm_utils.c
@@ -80,7 +80,7 @@ void pcm_volumeChange(char * buffer, int bufferSize, AudioFormat * format,
default:
ERROR("%i bits not supported by pcm_volumeChange!\n",
format->bits);
- exit(-1);
+ exit(EXIT_FAILURE);
}
}
@@ -120,7 +120,7 @@ void pcm_add(char * buffer1, char * buffer2, size_t bufferSize1,
break;
default:
ERROR("%i bits not supported by pcm_add!\n",format->bits);
- exit(-1);
+ exit(EXIT_FAILURE);
}
}