summaryrefslogtreecommitdiff
path: root/apl9.h
diff options
context:
space:
mode:
Diffstat (limited to 'apl9.h')
-rw-r--r--apl9.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apl9.h b/apl9.h
index 08c4d00..54d827b 100644
--- a/apl9.h
+++ b/apl9.h
@@ -84,8 +84,8 @@ struct Mixed
};
#define GetRank(a) ((u8int)((a->info & 0x000000000000000F) >> 0))
-#define GetType(a) ((u8int)((a->info & 0x000000000000000F) >> 4))
-#define GetStrand(a) ((u8int)((a->info & 0x0000000000000010) >> 8))
+#define GetType(a) ((u8int)((a->info & 0x00000000000000F0) >> 4))
+#define GetStrand(a) ((u8int)((a->info & 0x0000000000000100) >> 8))
#define SetRank(a,v) (a->info ^= ((u64int)(GetRank(a)^v) << 0))
#define SetType(a,v) (a->info ^= ((u64int)(GetType(a)^v) << 4))
#define SetStrand(a,v) (a->info ^= ((u64int)(GetStrand(a)^v) << 8))