From: fennecdjay Date: Wed, 13 Mar 2019 10:33:17 +0000 (+0100) Subject: :art: Change unsigned x: 1 to uint x X-Git-Tag: nightly~2740 X-Git-Url: http://10.11.0.4:5575/?a=commitdiff_plain;h=ab523e567edc6c7e227250ce25196b8db5558a8a;p=gwion.git :art: Change unsigned x: 1 to uint x --- diff --git a/include/array.h b/include/array.h index 1cc83b11..a7840220 100644 --- a/include/array.h +++ b/include/array.h @@ -10,8 +10,8 @@ typedef struct ArrayInfo_ { m_int* idx; // for object array size_t length; // array init } d; - unsigned is_ref : 1; - unsigned is_obj : 1; + uint is_ref; + uint is_obj; } ArrayInfo; ANN m_uint m_vector_size(const M_Vector); diff --git a/include/env.h b/include/env.h index ca4339e0..2a05268b 100644 --- a/include/env.h +++ b/include/env.h @@ -11,7 +11,7 @@ struct Switch_ { Vector vec; vtype iter; size_t default_case_index; - unsigned ok : 1; + uint ok; }; struct Env_Scope_ { diff --git a/include/ugen.h b/include/ugen.h index 3b1dd881..8b0af64e 100644 --- a/include/ugen.h +++ b/include/ugen.h @@ -35,8 +35,8 @@ struct UGen_ { UGen ref; } module; m_float in, out; - unsigned multi : 1; - unsigned done : 1; + uint multi; + uint done; }; #define TICK(a) __attribute__((hot)) ANN inline void a(const UGen u) diff --git a/src/main.c b/src/main.c index c042598d..80bc1165 100644 --- a/src/main.c +++ b/src/main.c @@ -21,5 +21,5 @@ int main(int argc, char** argv) { if(ini > 0) gwion_run(&gwion); gwion_end(&gwion); - return 0; + return EXIT_SUCCESS; }