Nope...
Two choices:
1) return the pedal from where you purchased it to get the right one for your Casio, or your money back.
2) Open the pedal, and see if there is a third contact on the actual switch. It will just be a case of reversing the polarity of switch.
Some keyboards will have a option to reverse the sustain pedal polarity, I would guess the Casio hasn't.
You can purchase pedals with polarity switches, again I assume this one hasn't.
I tkink Roland use a pedal down = contact closed type action.
Yamaha (& Casio I think) use pedal down = break contact action.
_________________________
The Sonic Energy Authority - a sound investment