Re: [dev] [st][patch] use int instead of long for color

2013-11-14 Thread Roberto E. Vargas Caballero
On Thu, Nov 14, 2013 at 04:09:08PM +0100, Johannes Hofmann wrote: > Hi, > > here is a patch that replaces long with int. > It saves some memory on 64bit systems. If you want 32 bits use uint32_t, in other case I will not apply the patch. -- Roberto E. Vargas Caballero

[dev] [st][patch] use int instead of long for color

2013-11-14 Thread Johannes Hofmann
Hi, here is a patch that replaces long with int. It saves some memory on 64bit systems. Regards, Johannes diff --git a/st.c b/st.c index fda7044..51ecd21 100644 --- a/st.c +++ b/st.c @@ -179,9 +179,9 @@ typedef unsigned short ushort; typedef struct { char c[UTF_SIZ]; /* character code