From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Mon, 22 Dec 2008 11:34:29 -0500 To: 9fans@9fans.net In-Reply-To: <09f5669b56b7c974f1c653e5996cd90b@terzarima.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] graphics scaling Topicbox-Message-UUID: 6c6ff60a-ead4-11e9-9d60-3106f5b1d025 it's not quite as fun to work with. beware % with signed quantities. gcc likes negative results such situtations. not a good idea for array indexing. e.g. ipaux.c: return (ulong)(sa[IPaddrlen-1]<<24 ^ sp<< 16 ^ da[IPaddrlen-1]<<8 ^ dp) % Nhash; - erik