[shibboleth-sp2] 63/119: Fix 64-bit cast.
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.
commit 168b4437301343edac9dfb04826c593b17ed90c1
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Sun Sep 16 03:35:20 2007 +0000
Fix 64-bit cast.
---
fastcgi/shibauthorizer.cpp | 6 +++---
fastcgi/shibresponder.cpp | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fastcgi/shibauthorizer.cpp b/fastcgi/shibauthorizer.cpp
index dd1b305..c6a8cec 100644
--- a/fastcgi/shibauthorizer.cpp
+++ b/fastcgi/shibauthorizer.cpp
@@ -286,7 +286,7 @@ int main(void)
continue;
default:
- cerr << "shib: doCheckAuthN returned an unexpected result: " << (int)res.second << endl;
+ cerr << "shib: doCheckAuthN returned an unexpected result: " << (long)res.second << endl;
print_error("<html><body>FastCGI Shibboleth authorizer returned an unexpected result.</body></html>");
continue;
}
@@ -310,7 +310,7 @@ int main(void)
continue;
default:
- cerr << "shib: doExportAssertions returned an unexpected result: " << (int)res.second << endl;
+ cerr << "shib: doExportAssertions returned an unexpected result: " << (long)res.second << endl;
print_error("<html><body>FastCGI Shibboleth authorizer returned an unexpected result.</body></html>");
continue;
}
@@ -334,7 +334,7 @@ int main(void)
continue;
default:
- cerr << "shib: doCheckAuthZ returned an unexpected result: " << (int)res.second << endl;
+ cerr << "shib: doCheckAuthZ returned an unexpected result: " << (long)res.second << endl;
print_error("<html><body>FastCGI Shibboleth authorizer returned an unexpected result.</body></html>");
continue;
}
diff --git a/fastcgi/shibresponder.cpp b/fastcgi/shibresponder.cpp
index 30f8b23..f861807 100644
--- a/fastcgi/shibresponder.cpp
+++ b/fastcgi/shibresponder.cpp
@@ -329,7 +329,7 @@ int main(void)
break;
default:
- cerr << "shib: doHandler returned an unexpected result: " << (int)res.second << endl;
+ cerr << "shib: doHandler returned an unexpected result: " << (long)res.second << endl;
print_error("<html><body>FastCGI Shibboleth responder returned an unexpected result.</body></html>");
break;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list