# HG changeset patch # User jcdutton # Date 1018457157 0 # Node ID a68c6da98b73a6d3b9c473929a140094ddbb087f # Parent 46fbd218a6896ad6e382c79ad1272a51772ebfff Actually fix the const this time! diff -r 46fbd218a689 -r a68c6da98b73 dvdnav.c --- a/dvdnav.c Wed Apr 10 16:40:52 2002 +0000 +++ b/dvdnav.c Wed Apr 10 16:45:57 2002 +0000 @@ -82,7 +82,7 @@ return S_OK; } -dvdnav_status_t dvdnav_open(dvdnav_t** dest, const char *path) { +dvdnav_status_t dvdnav_open(dvdnav_t** dest, char *path) { dvdnav_t *self; /* Create a new structure */ @@ -988,6 +988,9 @@ /* * $Log$ + * Revision 1.7 2002/04/10 16:45:57 jcdutton + * Actually fix the const this time! + * * Revision 1.6 2002/04/07 14:10:11 richwareham * Stop C++ bitching about some things and extend the menus example * diff -r 46fbd218a689 -r a68c6da98b73 dvdnav.h --- a/dvdnav.h Wed Apr 10 16:40:52 2002 +0000 +++ b/dvdnav.h Wed Apr 10 16:45:57 2002 +0000 @@ -61,7 +61,7 @@ * dest -- Pointer to a dvdnav_t pointer to fill in. * path -- Any libdvdread acceptable path */ -dvdnav_status_t dvdnav_open(dvdnav_t** dest, const char *path); +dvdnav_status_t dvdnav_open(dvdnav_t** dest, char *path); /** * Closes a dvdnav_t previously opened with dvdnav_open(), freeing any diff -r 46fbd218a689 -r a68c6da98b73 vm.c --- a/vm.c Wed Apr 10 16:40:52 2002 +0000 +++ b/vm.c Wed Apr 10 16:45:57 2002 +0000 @@ -162,7 +162,7 @@ return vm->dvd; } -int vm_reset(vm_t *vm, const char *dvdroot) /* , register_t regs) */ { +int vm_reset(vm_t *vm, char *dvdroot) /* , register_t regs) */ { /* Setup State */ memset((vm->state).registers.SPRM, 0, sizeof(uint16_t)*24); memset((vm->state).registers.GPRM, 0, sizeof((vm->state).registers.GPRM)); @@ -1569,6 +1569,9 @@ /* * $Log$ + * Revision 1.9 2002/04/10 16:45:57 jcdutton + * Actually fix the const this time! + * * Revision 1.8 2002/04/10 16:40:52 jcdutton * Fix a const problem. * diff -r 46fbd218a689 -r a68c6da98b73 vm.h --- a/vm.h Wed Apr 10 16:40:52 2002 +0000 +++ b/vm.h Wed Apr 10 16:45:57 2002 +0000 @@ -105,7 +105,7 @@ int vm_jump_prog(vm_t *vm, int pr); /* Other calls */ -int vm_reset(vm_t *vm, const char *dvdroot); /* , register_t regs); */ +int vm_reset(vm_t *vm, char *dvdroot); /* , register_t regs); */ int vm_start(vm_t *vm); int vm_eval_cmd(vm_t *vm, vm_cmd_t *cmd); int vm_get_next_cell(vm_t *vm);