summaryrefslogtreecommitdiff
path: root/src/minutils/s6-ps.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-27 12:12:42 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-27 12:12:42 +0000
commit59027c94f50a0d983a2bf0ebb72ef406b4fef20d (patch)
tree18a2e2e1945ffd3d673c1bdc25b76d93dcf317d5 /src/minutils/s6-ps.h
parent54d4b6e74bf539930db2cafbe075416894900076 (diff)
downloads6-linux-utils-59027c94f50a0d983a2bf0ebb72ef406b4fef20d.tar.xz
Make sure avltree indices (in s6-ps) are uint32_t
Diffstat (limited to 'src/minutils/s6-ps.h')
-rw-r--r--src/minutils/s6-ps.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/minutils/s6-ps.h b/src/minutils/s6-ps.h
index 9afd701..f92488d 100644
--- a/src/minutils/s6-ps.h
+++ b/src/minutils/s6-ps.h
@@ -14,7 +14,7 @@
typedef struct dius_s dius_t, *dius_t_ref ;
struct dius_s
{
- unsigned int left ;
+ uint32_t left ;
size_t right ;
} ;
#define DIUS_ZERO { .left = 0, .right = 0 }
@@ -146,7 +146,7 @@ typedef pfieldfmt_func_t *pfieldfmt_func_t_ref ;
extern pfieldfmt_func_t_ref *s6ps_pfield_fmt ;
extern void *left_dtok (unsigned int, void *) ;
-extern int uint_cmp (void const *, void const *, void *) ;
+extern int uint32_cmp (void const *, void const *, void *) ;
extern int s6ps_pwcache_init (void) ;
extern void s6ps_pwcache_finish (void) ;
extern int s6ps_pwcache_lookup (stralloc *, uid_t) ;