summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/st.c b/st.c
index 9cf6ba204f..4c5d87a173 100644
--- a/st.c
+++ b/st.c
@@ -815,13 +815,13 @@ strhash(register const char *string)
}
int
-st_numcmp(long x, long y)
+st_numcmp(st_data_t x, st_data_t y)
{
return x != y;
}
int
-st_numhash(long n)
+st_numhash(st_data_t n)
{
- return n;
+ return (int)n;
}