From: Eric S. Raymond Date: Sun, 31 Aug 2003 09:23:20 +0000 (+0000) Subject: Parametrize away the type conversion. X-Git-Tag: 1.0~103 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=cc2124826a9f1a5856397a371cb1a1781e1d7582;p=comparator.git Parametrize away the type conversion. --- diff --git a/shredtree.c b/shredtree.c index ecc7b98..6a7d0e9 100644 --- a/shredtree.c +++ b/shredtree.c @@ -100,8 +100,8 @@ static void emit_chunk(shred *display, int linecount) if (display[i].line) firstline = i; firstline = display[firstline].number; - outbuf[chunk_count].start = htonl(firstline); - outbuf[chunk_count].end = htonl(linecount); + outbuf[chunk_count].start = TONET(firstline); + outbuf[chunk_count].end = TONET(linecount); chunk_count++; }