From: Eric S. Raymond Date: Sun, 31 Aug 2003 09:23:43 +0000 (+0000) Subject: Parametrize away the type conversion. X-Git-Tag: 1.0~102 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=45b6643a766549974805a88823dc964c2f517843;p=comparator.git Parametrize away the type conversion. --- diff --git a/shredtree.c b/shredtree.c index 6a7d0e9..e5d9f29 100644 --- a/shredtree.c +++ b/shredtree.c @@ -148,7 +148,7 @@ void shredfile(const char *file) } if (linecount < shredsize) emit_chunk(display, linecount); - net_chunks = htonl(chunk_count); + net_chunks = TONET(chunk_count); /* the actual output */ puts(file);