diff options
| author | Simon <simon@hardwired.org.uk> | 2010-08-16 12:54:36 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2010-08-16 12:54:36 (GMT) |
| commit | 5ef2b6069b5455bb34a0af44db5e5c6f4ce59818 (patch) | |
| tree | 4c29f15c79cb6287369e179675f1055c4dc28684 | |
| parent | f78eef8903f0327ed83b593d56753d52b2d02e00 (diff) | |
| download | powder-5ef2b6069b5455bb34a0af44db5e5c6f4ce59818.zip powder-5ef2b6069b5455bb34a0af44db5e5c6f4ce59818.tar.gz | |
Remove binary notation for other compilers
| -rwxr-xr-x[-rw-r--r--] | powder.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -582,11 +582,11 @@ struct menu_section msections[] = #define MAX_TEMP 3500 #define MIN_TEMP -273 -static unsigned char TYPE_PART = 0b0001 << 4; -static unsigned char TYPE_LIQUID = 0b0010 << 4; -static unsigned char TYPE_SOLID = 0b0100 << 4; -static unsigned char TYPE_GAS = 0b1000 << 4; -static unsigned char PROP_CONDUCTS = 0b0001 >> 4; +static unsigned char TYPE_PART = 0x01; //1 +static unsigned char TYPE_LIQUID = 0x02; //2 +static unsigned char TYPE_SOLID = 0x04; //4 +static unsigned char TYPE_GAS = 0x08; //8 +static unsigned char PROP_CONDUCTS = 0x10; //16 const struct part_type ptypes[] = { |
