Mercurial > audlegacy-plugins
changeset 2453:e3225b9b3e59
Use glib types consistently.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 14 Mar 2008 13:51:17 +0200 |
parents | 5993021f4dec |
children | 2c8bb51ba9cd |
files | src/cdaudio-ng/cdaudio-ng.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cdaudio-ng/cdaudio-ng.c Fri Mar 14 02:01:38 2008 +0300 +++ b/src/cdaudio-ng/cdaudio-ng.c Fri Mar 14 13:51:17 2008 +0200 @@ -67,8 +67,8 @@ static InputPlayback *pglobalinputplayback = NULL; static GtkWidget *main_menu_item, *playlist_menu_item; static GThread *scan_cd_thread = NULL; -static int first_trackno_to_add_after_scan = -1; -static int last_trackno_to_add_after_scan = -1; +static gint first_trackno_to_add_after_scan = -1; +static gint last_trackno_to_add_after_scan = -1; static void cdaudio_init(void); static void cdaudio_about(void); @@ -628,7 +628,7 @@ } } else { - int trackno; + gint trackno; for (trackno = firsttrackno; trackno <= lasttrackno; trackno++) append_track_to_playlist(trackno); } @@ -982,7 +982,7 @@ } cddb_disc_calc_discid(pcddb_disc); - unsigned int discid = cddb_disc_get_discid(pcddb_disc); + guint discid = cddb_disc_get_discid(pcddb_disc); debug("CDDB disc id = %x\n", discid); gint matches; @@ -1018,7 +1018,7 @@ cddb_disc_get_title(pcddb_disc), cddb_disc_get_genre(pcddb_disc)); - int trackno; + gint trackno; for (trackno = firsttrackno; trackno <= lasttrackno; trackno++) { cddb_track_t *pcddb_track = cddb_disc_get_track(pcddb_disc, trackno - 1); cdaudio_set_strinfo(&trackinfo[trackno],