summaryrefslogtreecommitdiffstats
path: root/monitor_mm.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-01-10 00:37:05 +0100
committerDamien Miller <djm@mindrot.org>2014-01-10 00:37:05 +0100
commit3e49853650448883685cfa32fa382d0ba6d51d48 (patch)
treecc8125afc2ef7cf2ce3098e661b2eaba06c7367d /monitor_mm.h
parent - (djm) [regress/.cvsignore] Ignore regress test droppings; ok dtucker@ (diff)
downloadopenssh-3e49853650448883685cfa32fa382d0ba6d51d48.tar.xz
openssh-3e49853650448883685cfa32fa382d0ba6d51d48.zip
- tedu@cvs.openbsd.org 2014/01/04 17:50:55
[mac.c monitor_mm.c monitor_mm.h xmalloc.c] use standard types and formats for size_t like variables. ok dtucker
Diffstat (limited to 'monitor_mm.h')
-rw-r--r--monitor_mm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor_mm.h b/monitor_mm.h
index c890f7709..f1fae7e3b 100644
--- a/monitor_mm.h
+++ b/monitor_mm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor_mm.h,v 1.5 2008/04/29 11:20:31 otto Exp $ */
+/* $OpenBSD: monitor_mm.h,v 1.6 2014/01/04 17:50:55 tedu Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
@@ -47,7 +47,7 @@ RB_PROTOTYPE(mmtree, mm_share, next, mm_compare)
#define MM_MINSIZE 128
-#define MM_ADDRESS_END(x) (void *)((u_char *)(x)->address + (x)->size)
+#define MM_ADDRESS_END(x) (void *)((char *)(x)->address + (x)->size)
struct mm_master *mm_create(struct mm_master *, size_t);
void mm_destroy(struct mm_master *);