Reacted on compiler warnings

ZeroFourZero
Thomas Schmitt 15 years ago
parent 970e2798ba
commit 6841cb68e5
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 1
      libburn/read.c
  3. 1
      libburn/write.c

@ -1 +1 @@
#define Cdrskin_timestamP "2007.09.04.224905"
#define Cdrskin_timestamP "2007.09.04.225558"

@ -409,6 +409,7 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
} else {
ret = burn_stdio_read(fd, (char *) d->buffer->data,
cpy_size, d, 0);
err = 0;
if (ret <= 0)
err = BE_CANCELLED;
}

@ -2250,6 +2250,7 @@ int burn_random_access_write(struct burn_drive *d, off_t byte_address,
} else {
ret = burn_stdio_write(fd, (char *) d->buffer->data,
d->buffer->bytes, d, 0);
err = 0;
if (ret <= 0)
err = BE_CANCELLED;
}

Loading…
Cancel
Save