aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-29 19:24:34 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-29 19:24:34 +0000
commit6ad0d2ab4a474867d45889ff5e7474e9cc9097ac (patch)
tree072b79a39c521e8f6bc63a9d5a6488fc94b59432
parent2057e666a2c2f7803b86640bcaeaa5c1e35ac58c (diff)
downloadrtmux-6ad0d2ab4a474867d45889ff5e7474e9cc9097ac.tar.gz
rtmux-6ad0d2ab4a474867d45889ff5e7474e9cc9097ac.tar.bz2
rtmux-6ad0d2ab4a474867d45889ff5e7474e9cc9097ac.zip
Nuke debugging.
-rw-r--r--tmux.h4
-rw-r--r--xmalloc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 36e300ca..6dc957ea 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.255 2009-01-28 19:52:21 nicm Exp $ */
+/* $Id: tmux.h,v 1.256 2009-01-29 19:24:34 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -302,7 +302,7 @@ enum tty_code_code {
TTYC_SMSO, /* enter_standout_mode, so */
TTYC_SMUL, /* enter_underline_mode, us */
};
-#define NTTYCODE (TTYC_SMUL + 1)
+#define NTTYCODE ((int) TTYC_SMUL + 1)
/* Termcap types. */
enum tty_code_type {
diff --git a/xmalloc.c b/xmalloc.c
index 68861c2c..986a017f 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -1,4 +1,4 @@
-/* $Id: xmalloc.c,v 1.7 2009-01-14 19:29:32 nicm Exp $ */
+/* $Id: xmalloc.c,v 1.8 2009-01-29 19:24:34 nicm Exp $ */
/*
* Copyright (c) 2004 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -44,7 +44,7 @@ xcalloc(size_t nmemb, size_t size)
void *ptr;
if (size == 0 || nmemb == 0)
- { abort();fatalx("zero size");}
+ fatalx("zero size");
if (SIZE_MAX / nmemb < size)
fatalx("nmemb * size > SIZE_MAX");
if ((ptr = calloc(nmemb, size)) == NULL)