]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - util.c
More function flatening
[xonotic/gmqcc.git] / util.c
diff --git a/util.c b/util.c
index 004b69b0d5daef6215a2e85d16a408607d8ea07c..023eb5e8e52899878993eef0eaac5cbd210c7f69 100644 (file)
--- a/util.c
+++ b/util.c
@@ -253,7 +253,7 @@ void util_endianswap(void *_data, size_t length, unsigned int typesize) {
                 util_swap64((uint32_t*)_data, length>>3);
                 return;
 
-            default: abort(); /* please blow the fuck up! */
+            default: exit(EXIT_FAILURE); /* please blow the fuck up! */
         }
 #   endif
 #endif