enum does not have a size consistent with a tag, so use unsigned long instead

This commit is contained in:
Niko Matsakis 2011-11-11 15:27:18 -08:00
parent c997a353aa
commit b78c096ebc

View File

@ -51,10 +51,9 @@ struct rust_task_user {
};
// std::lib::task::task_result
enum task_result {
tr_success = 0,
tr_failure = 1
};
typedef unsigned long task_result;
#define tr_success 0
#define tr_failure 1
// std::lib::task::task_notification
//