MIDI library doesn't work on Arduino Due

Solved it

I edited the MIDI.h file with a text editor application.

Basically, i replaced this line

ypedef uint16_t word'

with this one

typedef unsigned int word

according to the declaration in wiring_constants file.

Now it works fine, but if anyone would suggest another way to fix that problem, suggestions are wellcome!