Reacted on compiler warning about previous revision

This commit is contained in:
Thomas Schmitt 2011-08-17 16:22:14 +00:00
parent ad06feaaac
commit d5f121ccc8
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2011.08.17.160854" #define Cdrskin_timestamP "2011.08.17.162201"

View File

@ -1469,10 +1469,10 @@ static int burn_drive__is_rdwr(char *fname, int *stat_ret,
st_ret = stat(fname, &stbuf); st_ret = stat(fname, &stbuf);
if (st_ret != -1) { if (st_ret != -1) {
is_rdwr = burn_os_is_2k_seekrw(fname, 0); is_rdwr = burn_os_is_2k_seekrw(fname, 0);
if (S_ISREG(stbuf.st_mode)) {
read_size = stbuf.st_size;
ret = 1; ret = 1;
} else if (is_rdwr) if (S_ISREG(stbuf.st_mode))
read_size = stbuf.st_size;
else if (is_rdwr)
ret = burn_os_stdio_capacity(fname, &read_size); ret = burn_os_stdio_capacity(fname, &read_size);
if (ret <= 0 || if (ret <= 0 ||
read_size / (off_t) 2048 >= (off_t) 0x7ffffff0) read_size / (off_t) 2048 >= (off_t) 0x7ffffff0)