From: cloudwalk Date: Mon, 8 Jun 2020 14:46:10 +0000 (+0000) Subject: Don't use an enum as a type directly. Helps fix C++ compilation. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dcf2feebb91580baccadb844a0749518c32ccb55;p=xonotic%2Fdarkplaces.git Don't use an enum as a type directly. Helps fix C++ compilation. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12650 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/progsvm.h b/progsvm.h index dae3932f..26517494 100644 --- a/progsvm.h +++ b/progsvm.h @@ -506,7 +506,7 @@ prvm_prog_garbagecollection_state_stage_t; typedef struct prvm_prog_garbagecollection_state_s { - prvm_prog_garbagecollection_state_stage_t stage; + int stage; int globals_mark_progress; int fields_mark_progress; int fields_mark_progress_entity;