+/* The cast to 'unsigned' allow us to get rid of multiple annoying warnings
+ * on gcc:
+ * jpc_t1enc.c:958: warning: signed and unsigned type in conditional expression
+ * I am not sure this is the best patch ever since jpc_mqenc_codemps2 is
+ * only returning 0 or -1 ... */