fixed error caught by gcc

This commit is contained in:
Mathew Sutcliffe
2013-09-01 17:55:38 +01:00
parent 7a7fd69ee1
commit 21b74dc912

View File

@@ -529,7 +529,7 @@ namespace BlackCore
case Cvatlib_Network::error_Registered:
case Cvatlib_Network::error_InvalidControl: qWarning() << "Server: " << cbvar_cast(cbvar)->fromFSD(msg); break;
default: qFatal("VATSIM shim library: %s (error %d)", cbvar_cast(cbvar)->fromFSD(msg), type); goto terminate;
default: qFatal("VATSIM shim library: %s (error %d)", msg, type); goto terminate;
}
return;