From cc2124826a9f1a5856397a371cb1a1781e1d7582 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 31 Aug 2003 09:23:20 +0000 Subject: [PATCH] Parametrize away the type conversion. --- shredtree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++; } -- 2.43.0