2nd try at getting lint messages removed across all architectures.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_nrg.c,v 1.29 2004/02/01 15:45:30 rocky Exp $
|
||||
$Id: _cdio_nrg.c,v 1.30 2004/02/01 15:53:06 rocky Exp $
|
||||
|
||||
Copyright (C) 2001,2003 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -48,7 +48,7 @@
|
||||
#include "cdio_private.h"
|
||||
#include "_cdio_stdio.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_nrg.c,v 1.29 2004/02/01 15:45:30 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_nrg.c,v 1.30 2004/02/01 15:53:06 rocky Exp $";
|
||||
|
||||
/* structures used */
|
||||
|
||||
@@ -267,7 +267,8 @@ _register_mapping (_img_private_t *_obj, lsn_t start_lsn, uint32_t sec_count,
|
||||
_obj->total_tracks++;
|
||||
|
||||
cdio_debug ("start lsn: %lu sector count: %0lu -> %8ld (%08lx)",
|
||||
start_lsn, sec_count,
|
||||
(long unsigned int) start_lsn,
|
||||
(long unsigned int) sec_count,
|
||||
(long unsigned int) img_offset,
|
||||
(long unsigned int) img_offset);
|
||||
}
|
||||
@@ -539,7 +540,7 @@ PRAGMA_END_PACKED
|
||||
break;
|
||||
default:
|
||||
cdio_warn ("Don't know how to handle track mode (%lu)?",
|
||||
track_mode);
|
||||
(long unsigned int) track_mode);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -606,14 +607,15 @@ PRAGMA_END_PACKED
|
||||
break;
|
||||
default:
|
||||
cdio_warn ("Don't know how to handle track mode (%lu)?",
|
||||
track_mode);
|
||||
(long unsigned int) track_mode);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_len % blocksize != 0) {
|
||||
cdio_warn ("length is not a multiple of blocksize "
|
||||
"len %lu, size %d, rem %lu",
|
||||
_len, blocksize, _len % blocksize);
|
||||
(long unsigned int) _len, blocksize,
|
||||
(long unsigned int) _len % blocksize);
|
||||
if (0 == _len % CDIO_CD_FRAMESIZE) {
|
||||
cdio_warn("Adjusting blocksize to %d", CDIO_CD_FRAMESIZE);
|
||||
blocksize = CDIO_CD_FRAMESIZE;
|
||||
@@ -629,7 +631,9 @@ PRAGMA_END_PACKED
|
||||
_len /= blocksize;
|
||||
|
||||
if (_start * blocksize != _start2) {
|
||||
cdio_warn ("%lu * %d != %lu", _start, blocksize, _start2);
|
||||
cdio_warn ("%lu * %d != %lu",
|
||||
(long unsigned int) _start, blocksize,
|
||||
(long unsigned int) _start2);
|
||||
if (_start * CDIO_CD_FRAMESIZE == _start2) {
|
||||
cdio_warn("Adjusting blocksize to %d", CDIO_CD_FRAMESIZE);
|
||||
blocksize = CDIO_CD_FRAMESIZE;
|
||||
|
||||
Reference in New Issue
Block a user