Is it possible to make this work somehow (without adding an extra parameter or doing two separate functions)?
Code://I didn't create this but am stuck using it typedef long jint; void doSomething(jint a) { ...do something with a jint... } void doSomething(long a) { ...do something with a different with a long... }