Changeset 38234 for trunk/Ohana/src/opihi/cmd.data/rd.c
- Timestamp:
- May 6, 2015, 6:15:15 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/rd.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/rd.c
r38062 r38234 170 170 if (plane >= 0) { 171 171 // we are requesting a specific plane (-1 : all data) 172 int tooFar = Nz ? (plane >= Nz) : (plane > Nz);172 int tooFar = (Nz > 0) ? (plane >= Nz) : (plane > 0); 173 173 if (tooFar) { 174 174 gprint (GP_ERR, "-plane is too large: %d total planes\n", Nz);
Note:
See TracChangeset
for help on using the changeset viewer.
