Mercurial > libdvdnav.hg
changeset 377:9a9d15ed0599 src
(char*) typecase to silence gcc; patch by Erik Hovland org
author | nicodvb |
---|---|
date | Thu, 05 Jun 2008 10:30:17 +0000 |
parents | 430d842f35bd |
children | 2e9382be8e25 |
files | vm/vm.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vm/vm.c Thu Jun 05 10:28:59 2008 +0000 +++ b/vm/vm.c Thu Jun 05 10:30:17 2008 +0000 @@ -159,7 +159,7 @@ fprintf(MSG_OUT, " "); } } - strncpy(name, &data[25], 48); + strncpy(name, (char*) &data[25], 48); name[48] = 0; fprintf(MSG_OUT, "\nlibdvdnav: DVD Serial Number: "); for(i=73; i < 89; i++ ) {