Fix 64-bit cast.
authorScott Cantor <cantor.2@osu.edu>
Sun, 16 Sep 2007 03:35:20 +0000 (03:35 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sun, 16 Sep 2007 03:35:20 +0000 (03:35 +0000)
fastcgi/shibauthorizer.cpp
fastcgi/shibresponder.cpp

index dd1b305..c6a8cec 100644 (file)
@@ -286,7 +286,7 @@ int main(void)
                         continue;\r
               \r
                     default:\r
-                        cerr << "shib: doCheckAuthN returned an unexpected result: " << (int)res.second << endl;\r
+                        cerr << "shib: doCheckAuthN returned an unexpected result: " << (long)res.second << endl;\r
                         print_error("<html><body>FastCGI Shibboleth authorizer returned an unexpected result.</body></html>");\r
                         continue;\r
                 }\r
@@ -310,7 +310,7 @@ int main(void)
                         continue;\r
               \r
                     default:\r
-                        cerr << "shib: doExportAssertions returned an unexpected result: " << (int)res.second << endl;\r
+                        cerr << "shib: doExportAssertions returned an unexpected result: " << (long)res.second << endl;\r
                         print_error("<html><body>FastCGI Shibboleth authorizer returned an unexpected result.</body></html>");\r
                         continue;\r
                 }\r
@@ -334,7 +334,7 @@ int main(void)
                         continue;\r
               \r
                     default:\r
-                        cerr << "shib: doCheckAuthZ returned an unexpected result: " << (int)res.second << endl;\r
+                        cerr << "shib: doCheckAuthZ returned an unexpected result: " << (long)res.second << endl;\r
                         print_error("<html><body>FastCGI Shibboleth authorizer returned an unexpected result.</body></html>");\r
                         continue;\r
                 }\r
index 30f8b23..f861807 100644 (file)
@@ -329,7 +329,7 @@ int main(void)
                         break;\r
               \r
                     default:\r
-                        cerr << "shib: doHandler returned an unexpected result: " << (int)res.second << endl;\r
+                        cerr << "shib: doHandler returned an unexpected result: " << (long)res.second << endl;\r
                         print_error("<html><body>FastCGI Shibboleth responder returned an unexpected result.</body></html>");\r
                         break;\r
                 }\r