Index: trunk/ippTools/src/pxerrors.c
===================================================================
--- trunk/ippTools/src/pxerrors.c	(revision 26981)
+++ trunk/ippTools/src/pxerrors.c	(revision 34081)
@@ -26,5 +26,8 @@
 psExit pxerrorGetExitStatus(void) {
 
-    psErrorCode err = psErrorCodeLast ();
+    // psErrorCodeLast returns a psErrorCode, but we are being a bit sleezy and defining a set
+    // of enum values that have non-overlapping-ranges (not enforced by the compiler)
+
+    int err = psErrorCodeLast ();
     switch (err) {
       case PXTOOLS_ERR_SYS:
