I have a few code lines that fill an int using a char. I know it's obvious that will cause issues but I don't know how to convert it properly. The data that's coming to the Arduino will always come as a number.

if (radio.available())
{
char text[32] = "";
radio.read(&text, sizeof(text));
throttleIN = text;
Error I get:
/home/linux/Desktop/Rockets/Rocket_Code_PA_MIN/Rocket_Code_PA_MIN.ino: In function 'void loop()':
/home/linux/Desktop/Rockets/Rocket_Code_PA_MIN/Rocket_Code_PA_MIN.ino:26:14: warning: invalid conversion from 'char*' to 'int' [-fpermissive]
throttleIN = text;