Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/japanese/canna-lib/files/patch-lib-RK-ncache.c
16461 views
1
--- lib/RK/ncache.c.orig 2003-09-17 17:50:52.000000000 +0900
2
+++ lib/RK/ncache.c 2008-09-20 01:46:07.000000000 +0900
3
@@ -27,7 +27,7 @@
4
#include "RKintern.h"
5
6
#define NCHASH 101
7
-#define hash(x) ((int)((x)%NCHASH))
8
+#define hash(x) ((int)(((unsigned long)(x))%NCHASH))
9
10
static struct ncache Nchash[NCHASH];
11
static struct ncache Ncfree;
12
13