Commit 05a0df62 authored by Sergio Costas's avatar Sergio Costas

Removed "comparison of integer expressions of different signedness"

parent 5aa9ae60
......@@ -234,7 +234,7 @@ uint8_t LLScreen::printchar(uint8_t carac, int16_t x, int16_t y, uint8_t color,
width = *(counter++);
height = *(counter++);
counter++;
top = *counter;
top = *counter;
counter += 3;
// y+=charset.max_top;
......@@ -246,7 +246,7 @@ uint8_t LLScreen::printchar(uint8_t carac, int16_t x, int16_t y, uint8_t color,
width2 = width + 1;
}
for (bucle1 = 0; bucle1 < this->cheight; bucle1++) {
for (bucle1 = 0; bucle1 < (int) this->cheight; bucle1++) {
lugar2 = lugar;
if (bucle1 + y >= 480) {
break;
......@@ -303,8 +303,8 @@ void LLScreen::paint_picture(string filename) {
}
void LLScreen::clear_screen() {
int bucle;
uint32_t *buffer;
unsigned int bucle;
uint32_t * buffer;
buffer = this->memory;
......@@ -316,7 +316,8 @@ void LLScreen::clear_screen() {
// prints the string CADENA in X,Y (centered if X=-1), with colors COLOR and BACK
void LLScreen::print_string(string o_cadena, int16_t x, float y, uint8_t ink, uint8_t paper) {
int length, ncarac, bucle, xx;
unsigned int length;
int ncarac, bucle, xx;
uint16_t xxx, yyy;
unsigned char *cadena = (unsigned char *) o_cadena.c_str();
unsigned char *str2;
......
......@@ -51,7 +51,8 @@ pa_simple *pulse_s;
#endif
LLSound::LLSound(enum e_soundtype sound_type) {
int bucle, ret2;
unsigned int bucle;
int ret2;
this->sound_type = sound_type;
ret2 = this->init_sound(); // check all sound systems
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment