Skip to content
Browse files

ofz#1029 use correct loop index

To be honest, I think this would be clearer as two separate reads to two
separate vars...
  • Loading branch information...
dtardon committed Apr 7, 2017
1 parent 7b04b98 commit 2d6253c7a692a3d92785dd990fce7256ea05e794
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/StarWriterStruct.cxx
@@ -327,7 +327,7 @@ bool DatabaseName::read(StarZone &zone)
int positions[2];
for (int j=0; j<2; ++j) positions[i]=int(input->readULong(4));
for (int j=0; j<2; ++j) positions[j]=int(input->readULong(4));

0 comments on commit 2d6253c

Please sign in to comment.
You can’t perform that action at this time.