Nuke debugging.

pull/1/head
Nicholas Marriott 2009-01-29 19:24:34 +00:00
parent 2057e666a2
commit 6ad0d2ab4a
2 changed files with 4 additions and 4 deletions

4
tmux.h
View File

@ -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 {

View File

@ -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)