Commit abaf0e8f authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Fixed unsigned warning in GatedSpectrometer

parent 4cecf1b8
......@@ -19,7 +19,7 @@ namespace effelsberg {
namespace edd {
#define BIT_MASK(bit) (1L << (bit))
#define BIT_MASK(bit) (1uL << (bit))
#define SET_BIT(value, bit) ((value) |= BIT_MASK(bit))
#define CLEAR_BIT(value, bit) ((value) &= ~BIT_MASK(bit))
#define TEST_BIT(value, bit) (((value)&BIT_MASK(bit)) ? 1 : 0)
......
Supports Markdown
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