[Pkg-wmaker-commits] [wmcoincoin] 47/87: Fix -Wpointer-to-int-cast compiler warning.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Aug 28 17:27:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmcoincoin.
commit 2ff2c8af5bc4f148dfdeeab16fa243eccc999a2a
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Nov 11 12:13:53 2014 -0600
Fix -Wpointer-to-int-cast compiler warning.
---
src/pinnipede.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pinnipede.c b/src/pinnipede.c
index b0ba2e6..7f0c7d6 100644
--- a/src/pinnipede.c
+++ b/src/pinnipede.c
@@ -2377,7 +2377,7 @@ pp_check_survol(Dock *dock, PostWord *pw, int force_refresh)
Boards *boards = dock->sites->boards;
char survol[1024];
char *p;
- int survol_hash;
+ intptr_t survol_hash;
int is_a_ref = 0;
survol[0] = 0;
@@ -2454,7 +2454,7 @@ pp_check_survol(Dock *dock, PostWord *pw, int force_refresh)
p = survol;
while (*p) { survol_hash += (((unsigned)*p) * 253) + 23; p++; }
} else {
- survol_hash = (int)pw; // pourquoi pas...
+ survol_hash = (intptr_t)pw; // pourquoi pas...
}
// survol_hash = (int)pw; // ca c'est pas bon, on fait trop de refresh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcoincoin.git
More information about the Pkg-wmaker-commits
mailing list