Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:derselbst
cuetools
cuetools-1.3.1-mathmeaning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cuetools-1.3.1-mathmeaning.patch of Package cuetools
Index: src/lib/cd.c =================================================================== --- src/lib/cd.c.orig 2006-02-15 01:10:05.000000000 +0100 +++ src/lib/cd.c 2008-06-09 01:34:12.000000000 +0200 @@ -144,7 +144,7 @@ int cd_get_ntrack (Cd *cd) Track *cd_get_track (Cd *cd, int i) { - if (0 < i <= cd->ntrack) + if ((0 < i) && (i <= cd->ntrack)) return cd->track[i - 1]; return NULL; @@ -277,7 +277,7 @@ int track_get_nindex (Track *track) long track_get_index (Track *track, int i) { - if (0 <= i < track->nindex) + if ((0 <= i) && (i < track->nindex)) return track->index[i]; return -1;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor