ti ringrazio per l'intervento, ma ho già provato a fare il cast o ad usare un vettore di unsigned char...ma non cambia niente