changeset 275:f8ba866996f9 src

in dvdnav_time_search() vobu and start are uint32_t
author nicodvb
date Sat, 14 Apr 2007 07:33:38 +0000
parents 12beff7f4482
children 44a8f8fbacc6
files searching.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/searching.c	Wed Apr 11 20:16:09 2007 +0000
+++ b/searching.c	Sat Apr 14 07:33:38 2007 +0000
@@ -155,13 +155,13 @@
   }
 
   if(found) {
-    int32_t vobu;
+    uint32_t vobu;
 #ifdef LOG_DEBUG
     fprintf(MSG_OUT, "libdvdnav: Seeking to cell %i from choice of %i to %i\n",
 	    cell_nr, first_cell_nr, last_cell_nr);
 #endif
     if (dvdnav_scan_admap(this, state->domain, target, &vobu) == DVDNAV_STATUS_OK) {
-      int32_t start = state->pgc->cell_playback[cell_nr-1].first_sector;
+      uint32_t start = state->pgc->cell_playback[cell_nr-1].first_sector;
       
       if (vm_jump_cell_block(this->vm, cell_nr, vobu - start)) {
 #ifdef LOG_DEBUG