Getting a compiling error about mismatched typedefs

I am doing a vex robotics project for a physics class and I am writing code in RobotC in natural language. When I use an if(sensorValue(sensor>#)) I get the error “Warning:Mismatched typedefs. Converting typedef ‘short’ to typedef ‘tSensors’, value ‘0x00C8’” I am not sure how this will affect how the program runs.

Here is my code

#pragma config(Sensor, in1,    potmeter,       sensorPotentiometer)
#pragma config(Sensor, in2,    light1,         sensorReflection)
#pragma config(Sensor, in3,    light2,         sensorReflection)
#pragma config(Sensor, dgtl1,  quad,           sensorQuadEncoder)
#pragma config(Motor,  port1,           motor1,        tmotorVex393_HBridge, openLoop)
#pragma config(Motor,  port2,           motor2,        tmotorVex393_MC29, openLoop)
#pragma config(Motor,  port3,           servo1,        tmotorServoStandard, openLoop)
#pragma config(Motor,  port4,           servo2,        tmotorServoStandard, openLoop)
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

int angle;
int x;
task main()
{
	angle = x;
	if(SensorValue(light2)>200])					//height sensor adjustment
	{
		x = 100;													//if sensor is not covered then quad limits motor rotations to 100
	}
	else
	{
		x = 500;													//if dark (covered)then sets quad to stop motors at 500 
	}
	while(SensorValue[light1>200])			//initiates luanching the ball
	{
		if(SensorValue[quad<angle])				//quad sensor measures how many motor roations in order for height adjustment
		{
			setServo(servo2, 100);					//brings ball to launch holder
			setServo(servo1, 100);					//latches holder down
			wait(1);												//waits for ball to get into position
			setServo(servo2, 0);						//stops the next ball from going into the holder
		  startMotor(motor1, 50);					//starts motor1
			startMotor(motor2, 50);					//starts motor2
		}
		else															//when quad reaches limit preset by light sensor/value of varible "angle"
		{
			stopMotor(motor1);							//stops motors
			stopMotor(motor2);
			wait(.25);											//wait for precautions
			setServo(servo1, 0);						//lets go of the holder to launch the ball
			wait(2);												//waits for ball to launch
			if(SensorValue[quad>angle})			//starts tensioning retractment
			{
				startMotor(motor1, -50);			//starts motors backward to detension
				startMotor(motor2, -50);
			}
			else
			{
				stopMotor(motor1);						//stops motors
				stopMotor(motor2);
			}
		}
	}
}

The sensor value brackets should only contain the sensor name.
Example of what you have
If(Sensor value[light >200])

Should be
If(Sensor value[light] >200)

My problem is:
Warning:Mismatched typedefs. Converting typedef ‘char’ to typedef ‘TVexJoysticks’, value ‘Ch2’

My code:
#pragma config(Motor, port6, LiftLeft, tmotorVex269_MC29, openLoop)
#pragma config(Motor, port7, LiftRight, tmotorVex269_MC29, openLoop, reversed)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//

task main()
{
while(true){
if(Btn6D!=1){
motor[LiftLeft] = -95;
motor[LiftRight] = -95;
}
if(Btn6U!=1){
while(Btn6U!=1){
motor[LiftLeft] = 95;
motor[LiftRight] = 95;
}
}
}
}

You need vexRT before the Btn it should be vexRT[Btn6D] != 1

Thank you so much