title: build error: none of the 12 overloads could convert all the argument types
body: <p>I use an overload function that is defined as follows in one of my header files</p>
  
  <pre><code>// indexed variables: todo overloads
  extern int PmdgGetVariable(char *variableName, int index, bool* result);
  extern int PmdgGetVariable(char *variableName, int index, short* result);
  extern int PmdgGetVariable(char *variableName, int index, unsigned short* result);
  extern int PmdgGetVariable(char *variableName, int index, int* result);
  extern int PmdgGetVariable(char *variableName, int index, unsigned int* result);
  extern int PmdgGetVariable(char *variableName, int index, float* result);
  </code></pre>
  
  <p>I get an error from the build prosess when
  trying these arguments</p>
  
  <pre><code>int res = PmdgGetVariable("MCP", 0, 0);
  </code></pre>
  
  <p>error is </p>
  
  <pre><code>main.cpp(80): error C2665: 'PmdgGetVariable' : none of the 12 overloads could convert all the argument types
  1&gt;          c:\users\roar\documents\visual studio 2010\projects\iocpclient_ngx v0.3\PmdgSiocConnector.h(27): could be 'int PmdgGetVariable(char *,int,bool *)'
  1&gt;          c:\users\roar\documents\visual studio 2010\projects\iocpclient_ngx v0.3\PmdgSiocConnector.h(28): or       'int PmdgGetVariable(char *,int,short *)'
  1&gt;          c:\users\roar\documents\visual studio 2010\projects\iocpclient_ngx v0.3\PmdgSiocConnector.h(29): or       'int PmdgGetVariable(char *,int,unsigned short *)'
  1&gt;          c:\users\roar\documents\visual studio 2010\projects\iocpclient_ngx v0.3\PmdgSiocConnector.h(30): or       'int PmdgGetVariable(char *,int,int *)'
  1&gt;          c:\users\roar\documents\visual studio 2010\projects\iocpclient_ngx v0.3\PmdgSiocConnector.h(31): or       'int PmdgGetVariable(char *,int,unsigned int *)'
  1&gt;          c:\users\roar\documents\visual studio 2010\projects\iocpclient_ngx v0.3\PmdgSiocConnector.h(32): or       'int PmdgGetVariable(char *,int,float *)'
  1&gt;          while trying to match the argument list '(const char [4], int, int)'
  </code></pre>
  
  <p>I am new to C++ and overloads. What am I doing wrong? What should/can I have as the 3rd argument?</p>
  
  <p>rgs</p>