[shibboleth-sp2] 61/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 d59fc13d5716191be0e89248705a736ed8f5b847
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Sun Sep 16 03:27:08 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 d0edc56..dd1b305 100644
--- a/fastcgi/shibauthorizer.cpp
+++ b/fastcgi/shibauthorizer.cpp
@@ -273,7 +273,7 @@ int main(void)
#ifdef _DEBUG
cerr << "shib: doCheckAuthN handled the request" << endl;
#endif
- switch((int)res.second) {
+ switch((long)res.second) {
case SHIB_RETURN_OK:
print_ok(sta.m_headers);
continue;
@@ -297,7 +297,7 @@ int main(void)
#ifdef _DEBUG
cerr << "shib: doExportAssertions handled request" << endl;
#endif
- switch((int)res.second) {
+ switch((long)res.second) {
case SHIB_RETURN_OK:
print_ok(sta.m_headers);
continue;
@@ -321,7 +321,7 @@ int main(void)
#ifdef _DEBUG
cerr << "shib: doCheckAuthZ handled request" << endl;
#endif
- switch((int)res.second) {
+ switch((long)res.second) {
case SHIB_RETURN_OK:
print_ok(sta.m_headers);
continue;
diff --git a/fastcgi/shibresponder.cpp b/fastcgi/shibresponder.cpp
index 23e25ef..30f8b23 100644
--- a/fastcgi/shibresponder.cpp
+++ b/fastcgi/shibresponder.cpp
@@ -314,7 +314,7 @@ int main(void)
#ifdef _DEBUG
cerr << "shib: doHandler handled the request" << endl;
#endif
- switch((int)res.second) {
+ switch((long)res.second) {
case SHIB_RETURN_OK:
print_ok();
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