]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/exception-private.h
(no commit message)
[imagemagick] / MagickCore / exception-private.h
index 98f64c336853d357e4ae4a2f61a7a4a713c813d9..cb6b7eb0b410a5b28f803d75292e07ecc9dac0df 100644 (file)
@@ -49,7 +49,7 @@ extern "C" {
   CatchException(&exception); \
   (void) DestroyExceptionInfo(&exception); \
   MagickCoreTerminus(); \
-  _exit(severity); \
+  _exit((int) (severity-FatalErrorException)+1); \
 }
 #define ThrowFileException(exception,severity,tag,context) \
 { \