Commit 4e0c734f authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

WRG: boolean in ERS

parent 40318e7c
......@@ -793,7 +793,7 @@ std::istream& operator>>(std::istream& is, ErsSarFacilityData& data)
data._range_spread_loss_comp_flag = atoi(buf4);
is.read(buf1,1);
data._datation_flag = atoi(buf1);
data._datation_flag = atoi(buf1) != 0;
is.read(buf7,7);
data._max_error_range_line_timing = atoi(buf7);
......@@ -802,7 +802,7 @@ std::istream& operator>>(std::istream& is, ErsSarFacilityData& data)
data._form_num_range_line_used = atoi(buf7);
is.read(buf1,1);
data._autom_look_scal_gain_flag = atoi(buf1);
data._autom_look_scal_gain_flag = atoi(buf1) != 0;
is.read(buf4,4);
data._max_value_look_scalar_gain = atoi(buf4);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment