Serial Read Bytes HEX Value greater then 0x79

Hi there;

I'm having a trouble with the following code... If i put InData[0] == 0x79, everything works, however if it is greater than 0x80, it doesn't work. I think it is because of the signed value, is there any other way to do this.
I canno't change de data that i'm receiving, its always 4 hex bytes in the format 0xf0100101

Thank you

char inData[4];

void setup()
{
  Serial.begin(9600);
}


void loop() {
  if (Serial.available() > 0) {
    Serial.readBytes(inData,4); 

    //Verifica se é Actuador      
    if (inData[0] == 0xf0)  //If greater that 0x79 don't work
    {
      if (inData[1] == 0x10)
      {
        if (inData[2] == 0x01)
        {
          if (inData[3] == 0x01)
          {
            Serial.println("ok");
          }
        }
      }
    }
  }  
}
byte inData[4];

Hi, thank you for your answer...
I allready tried that, but it gives me this erros

sketch_apr03b.ino: In function 'void loop()':
sketch_apr03b:25: error: invalid conversion from 'byte*' to 'char*'
sketch_apr03b:25: error: initializing argument 1 of 'size_t Stream::readBytes(char*, size_t)'
sketch_apr03b:26: error: call of overloaded 'write(byte [4])' is ambiguous
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:62: note: candidates are: virtual size_t HardwareSerial::write(uint8_t)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:63: note: size_t HardwareSerial::write(long unsigned int)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:64: note: size_t HardwareSerial::write(long int)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:65: note: size_t HardwareSerial::write(unsigned int)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:66: note: size_t HardwareSerial::write(int)
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/Print.h:49: note: size_t Print::write(const char*)

Arduino 1.0...

Binary sketch size: 1,946 bytes (of a 32,256 byte maximum)

...no errors.

Arduino 1.5...

Sketch uses 2,090 bytes (6%) of program storage space. Maximum is 32,256 bytes.
Global variables use 190 bytes (9%) of dynamic memory, leaving 1,858 bytes for local variables. Maximum is 2,048 bytes.

...no errors.

What is your IDe version? Mine is 1.0.5. Could it be that?

Oops. Built the wrong sketch. This should help...

    Serial.readBytes( (char*) inData,4);

Thank you once again....

Actually i update to 1.5.2_r2 and it worked with

byte inData[4]

I also tried the;

Serial.readBytes( (char*) inData,4);

And it workes to!

Thank you once again for your help.

So, what have you learned? That is the important thing.

chars are signed. The range of valid values is from -128 to 127. Figure out what that means in base 16 (hex) to see why 0x80 and higher didn't work.