title: passing argument to parameter
body: <p>I have the following piece of code:</p>
  
  <pre><code>typedef struct Folder{
   void (**vtable)();
   struct Set *ns;
  }Folder;
  
  Node *newFolder(char *n,struct Set *ns);
  </code></pre>
  
  <p>When I compile this file, it gives me:</p>
  
  <pre><code>passing argument to parameter 'ns' here
  Node *newFolder(char *n,struct Set *ns);
  </code></pre>
  
  <p>Here is my test unit for this:</p>
  
  <pre><code>  void testFolderNrNodes(CuTest *tc) {
    Node_reset();
    Node* folder = newFolder("folder_to_test", SetNil());
    CuAssertIntEquals(tc, 1, nrNodes(folder));
  }
  </code></pre>
  
  <p>which gives me this error:</p>
  
  <pre><code>incompatible integer to pointer conversion passing 'int' to parameter of type
  'struct Set *' [-Wint-conversion]
  Node* folder = newFolder("folder_to_test", SetNil());
                                             ^~~~~~~~
  </code></pre>
  
  <p>I don't see what the problem is. Does it come from the <code>struct Set *ns</code>? Why do I get this message with <code>"incompatible integer to pointer conversion passing 'int' to parameter of type 'struct Set *"</code>? 
  Can someone please let me know what I am doing wrong?</p>