Commit 1f724ad9 authored by Sergio Costas's avatar Sergio Costas

Removed more warnings

parent b043a57f
......@@ -356,9 +356,9 @@ uint8_t SPK_AY::get_latch() {
* execute last instruction */
void SPK_AY::play_sound(int tstados) {
int bucle;
int value;
uint8_t sample_v;
unsigned int bucle;
int value;
uint8_t sample_v;
this->tstados_counter_sound += tstados;
......
......@@ -460,7 +460,6 @@ public:
}
TAPBlock(uint8_t *data, uint16_t size) : FullBlock() {
this->next = NULL;
this->data = new uint8_t[size];
......@@ -550,7 +549,6 @@ public:
}
TZXBlock(uint8_t *data, uint16_t size) : FullBlock() {
this->next = NULL;
this->data = new uint8_t[size];
......@@ -961,7 +959,7 @@ public:
}
bool load_block(ifstream *file) {
uint8_t loop;
uint8_t loop;
// read repetitions
if (this->read_8bit(file, this->npulses)) {
......@@ -1027,7 +1025,6 @@ public:
}
bool load_block(ifstream *file) {
// read pilot pulse duration
if (this->read_16bit(file, this->length)) {
return true;
......@@ -1162,7 +1159,6 @@ public:
}
bool load_block(ifstream *file) {
if (this->read_16bit(file, this->size)) {
return true;
}
......@@ -1212,7 +1208,6 @@ public:
}
bool load_block(ifstream *file) {
if (this->read_8bit(file, this->size)) {
return true;
}
......
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