From 5ef2b6069b5455bb34a0af44db5e5c6f4ce59818 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 16 Aug 2010 13:54:36 +0100 Subject: Remove binary notation for other compilers diff --git a/powder.c b/powder.c old mode 100644 new mode 100755 index 90c81fe..836de9f --- a/powder.c +++ b/powder.c @@ -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[] = { -- cgit v0.9.2-21-gd62e