Pointer vs Value at the Pointer

I got this error this morning:

ISO C++ forbids comparison between pointer and integer [-fpermissive]

if(Serial.peek() == "H") { ....

This appears to be telling me that "Serial.peek()" returns the pointer and not the byte in the serial buffer that I was intending. I want to peek at the next byte in the serial buffer and I suppose I could do it with the following code:

x = Serial.peek() ;
if(x == "H") { ...

but I'd rather do it in one expression inside the if() conditional.

You're trying to compare a string, not a character.
Use single quotes.

if(Serial.peek() == 'H') { ....

single quotes

thanks, guys, sometimes I have to laugh out loud at the small details that can trip you up.