fix compile error with gcc 3.4.3
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
#include <map>
|
||||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define EPICS_PRIVATE_API
|
||||
|
||||
@ -36,8 +37,8 @@ struct compareLoc {
|
||||
return true;
|
||||
if (lhs.prset > rhs.prset)
|
||||
return false;
|
||||
return reinterpret_cast<char *>(lhs.sizeOffset)
|
||||
< reinterpret_cast<char *>(rhs.sizeOffset);
|
||||
return reinterpret_cast<uintptr_t>(lhs.sizeOffset)
|
||||
< reinterpret_cast<uintptr_t>(rhs.sizeOffset);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user