]> Nishi Git Mirror - gwion.git/commitdiff
:art: Change unsigned x: 1 to uint x
authorfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 13 Mar 2019 10:33:17 +0000 (11:33 +0100)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 13 Mar 2019 10:33:17 +0000 (11:33 +0100)
include/array.h
include/env.h
include/ugen.h
src/main.c

index 1cc83b1112a91066a3f52ce8ed77c45eb985ef3a..a78402200e0ad5c3cd5816f65497a5b1efed97b4 100644 (file)
@@ -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);
index ca4339e0be5c9ece523084b9fe40993d1e488483..2a05268b5799051efa6dfaa8178a697a77e06e9e 100644 (file)
@@ -11,7 +11,7 @@ struct Switch_ {
   Vector vec;
   vtype iter;
   size_t default_case_index;
-  unsigned ok : 1;
+  uint ok;
 };
 
 struct Env_Scope_ {
index 3b1dd881afca6f9df4a879ce86112b70bcac3514..8b0af64efe492ebc0471227c531d678200ef988f 100644 (file)
@@ -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)
index c042598d703b015756886b44b8ef54f147f54d23..80bc1165b74e8a6e281a569403f1fdaf6a3ab0f8 100644 (file)
@@ -21,5 +21,5 @@ int main(int argc, char** argv) {
   if(ini > 0)
     gwion_run(&gwion);
   gwion_end(&gwion);
-  return 0;
+  return EXIT_SUCCESS;
 }