aboutsummaryrefslogtreecommitdiff
path: root/src/nad2bin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nad2bin.c')
-rw-r--r--src/nad2bin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nad2bin.c b/src/nad2bin.c
index 6de54f9c..69515527 100644
--- a/src/nad2bin.c
+++ b/src/nad2bin.c
@@ -195,7 +195,7 @@ int main(int argc, char **argv) {
{
swap_words( header + 96, 8, 4 );
swap_words( header + 128, 4, 2 );
- swap_words( ct.cvs, 4, ct.lim.lam * ct.lim.phi );
+ swap_words( ct.cvs, 4, ct.lim.lam * 2 * ct.lim.phi );
}
if( fwrite( header, sizeof(header), 1, fp ) != 1 ) {