it is weird that you are passing strings as arg 1 and 3 of RSTInjector but the function takes 3 int's. if this were c++, i would guess it was looking for the overload of RSTInjector(char *,int,char *) but C wouldn't do that.