~ubuntu-branches/ubuntu/trusty/zvbi/trusty

« back to all changes in this revision

Viewing changes to test/sliced.c

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2013-10-15 06:29:56 UTC
  • mfrom: (1.1.11) (2.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20131015062956-0b9vqh1f8y90f38k
Tags: 0.2.35-2
* QA upload
* Add 06_sizeof_FTBFS.diff. Closes: #726186

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 *  MA 02110-1301, USA.
20
20
 */
21
21
 
22
 
/* $Id: sliced.c,v 1.18 2008/03/01 07:37:29 mschimek Exp $ */
 
22
/* $Id: sliced.c,v 1.19 2009/12/14 23:43:46 mschimek Exp $ */
23
23
 
24
24
/* For libzvbi version 0.2.x / 0.3.x. */
25
25
 
774
774
        uint8_t *s;
775
775
        uint8_t *e;
776
776
 
777
 
        s = /* const cast */ st->end;
 
777
        s = (uint8_t *) st->end;
778
778
        e = st->buffer + sizeof (st->buffer);
779
779
 
780
780
        if (s >= e)
1446
1446
        if (0 == (st->interfaces & INTERFACE_SIM))
1447
1447
                return FALSE;
1448
1448
 
1449
 
#if 2 == VBI_VERSION_MINOR
1450
 
        stream = stream; /* unused */
1451
 
        append = append;
1452
 
 
1453
 
        return FALSE;
1454
 
#elif 3 == VBI_VERSION_MINOR
1455
1449
        return vbi_capture_sim_load_caption (st->cap, stream, append);
1456
 
#else
1457
 
#  error VBI_VERSION_MINOR == ?
1458
 
#endif
1459
1450
}
1460
1451
 
1461
1452
vbi_bool