summaryrefslogtreecommitdiff
path: root/include/fibheap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fibheap.h')
-rw-r--r--include/fibheap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/fibheap.h b/include/fibheap.h
index fc37f9ef635..addef19db95 100644
--- a/include/fibheap.h
+++ b/include/fibheap.h
@@ -59,8 +59,13 @@ typedef struct fibnode
struct fibnode *right;
fibheapkey_t key;
void *data;
+#ifdef __GNUC__
+ unsigned long int degree : 31;
+ unsigned long int mark : 1;
+#else
unsigned int degree : 31;
unsigned int mark : 1;
+#endif
} *fibnode_t;
extern fibheap_t fibheap_new PARAMS ((void));