Fix compilation with -DDEBUG, patch by Albert Astals Cid, aastals tv-wan es.