summaryrefslogtreecommitdiff
path: root/games/xmahjongg/patches/patch-aa
blob: 85721e5ffb4e712c4d3370048aad91a0892194eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.5 2006/06/02 09:08:15 martin Exp $

--- permstr.hh.orig	2006-06-02 09:57:39.000000000 +0200
+++ permstr.hh	2006-06-02 09:57:50.000000000 +0200
@@ -93,7 +93,7 @@ operator!=(const char *a, PermString b)
 inline int
 hashcode(PermString s)
 {
-    return (int)(s.cc());
+    return (int)(intptr_t)(s.cc());
 }
 
 #endif