summaryrefslogtreecommitdiffstats
path: root/src/libutil/heap.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 18:56:33 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-18 18:56:33 +0000
commit14c13854d3cae9d93c3d148be30fb72f1eaffe55 (patch)
tree7b1a3e41b75490fac4d45722c90a1847543c6796 /src/libutil/heap.h
parent6b2b4167187fee09365271cca182866ecb029af3 (diff)
downloadrspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.tar.gz
rspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.zip
[Rework] Further types conversion (no functional changes)
Diffstat (limited to 'src/libutil/heap.h')
-rw-r--r--src/libutil/heap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libutil/heap.h b/src/libutil/heap.h
index 805f817c9..d56ee02b2 100644
--- a/src/libutil/heap.h
+++ b/src/libutil/heap.h
@@ -28,8 +28,8 @@ extern "C" {
struct rspamd_min_heap_elt {
gpointer data;
- guint pri;
- guint idx;
+ unsigned int pri;
+ unsigned int idx;
};
struct rspamd_min_heap;
@@ -64,7 +64,7 @@ struct rspamd_min_heap_elt *rspamd_min_heap_pop(struct rspamd_min_heap *heap);
* @param npri new priority
*/
void rspamd_min_heap_update_elt(struct rspamd_min_heap *heap,
- struct rspamd_min_heap_elt *elt, guint npri);
+ struct rspamd_min_heap_elt *elt, unsigned int npri);
/**
@@ -88,7 +88,7 @@ void rspamd_min_heap_destroy(struct rspamd_min_heap *heap);
* @return
*/
struct rspamd_min_heap_elt *rspamd_min_heap_index(struct rspamd_min_heap *heap,
- guint idx);
+ unsigned int idx);
#ifdef __cplusplus
}