projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert time-related variables to consistently use "unsigned long".
[srvx.git]
/
src
/
heap.c
diff --git
a/src/heap.c
b/src/heap.c
index 28ed9625c437f7bba5e1439996934283b2790c8d..dce909a4bda827fcba499752da3bbece199248d3 100644
(file)
--- a/
src/heap.c
+++ b/
src/heap.c
@@
-210,7
+210,7
@@
heap_size(heap_t heap)
/* prepackaged comparators */
int
-
int
_comparator(const void *a, const void *b)
+
ulong
_comparator(const void *a, const void *b)
{
- return (
time_t)a-(time_t
)b;
+ return (
unsigned long)a-(unsigned long
)b;
}