Skip to content
Snippets Groups Projects
Commit 90cf77af authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: correction of ERS ossim model (int -> unsigned int)

parent dfe846eb
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ public:
/**
* @brief Record sequence number
*/
int get_rec_seq()
unsigned int get_rec_seq()
{
return _rec_seq;
};
......@@ -86,7 +86,7 @@ public:
/**
* @brief Length of this record (in bytes)
*/
int get_length()
unsigned int get_length()
{
return _length;
};
......@@ -95,12 +95,12 @@ protected:
/**
* @brief This function switch the LSB value and the MSB value of the parameter
*/
void SwitchEndian(int& value);
void SwitchEndian(unsigned int& value);
/**
* @brief Record sequence number
*/
int _rec_seq;
unsigned int _rec_seq;
/**
* @brief First record sub-type code
*/
......@@ -120,7 +120,7 @@ protected:
/**
* @brief Length of this record (in bytes)
*/
int _length;
unsigned int _length;
private:
......
......@@ -52,7 +52,7 @@ ErsSarRecordHeader& ErsSarRecordHeader::operator=(const ErsSarRecordHeader& rhs)
return *this;
}
void ErsSarRecordHeader::SwitchEndian(int& value)
void ErsSarRecordHeader::SwitchEndian(unsigned int& value)
{
char buffer[4];
char res[4];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment