projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added cmd_renamehost to HostServ module
[srvx.git]
/
src
/
heap.c
diff --git
a/src/heap.c
b/src/heap.c
index ad97dacc02448b16e949dc23917980d8df2f15c1..f78f05f54be043a1d6bc199adef9907d854405d6 100644
(file)
--- a/
src/heap.c
+++ b/
src/heap.c
@@
-213,5
+213,5
@@
heap_size(heap_t heap)
int
ulong_comparator(const void *a, const void *b)
{
- return (
unsigned long)a-(unsigned long)b
;
+ return (
a < b) ? -1 : (a > b) ? 1 : 0
;
}