Changeset 9b87946bde7aacd0d1b31cde672331508281d655
- Timestamp:
- 14/08/08 23:21:14
(3 months ago)
- Author:
- Rémi Duraffort <ivoire@videolan.org>
- git-committer:
- Rémi Duraffort <ivoire@videolan.org> 1218748874 +0200
- git-parent:
[9edf694369c7f73bbd6a8eeab9abcd8fcacbd389]
- git-author:
- Rémi Duraffort <ivoire@videolan.org> 1218748874 +0200
- Message:
Fix compilation warnings (here the lib might have ask for const char* instead of char as they don't modify the string at all)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r9edf694 |
r9b87946 |
|
| 258 | 258 | * XXX: maybe it would be better to set it like audio/spu |
|---|
| 259 | 259 | * or to create a --menu-language option */ |
|---|
| 260 | | if( dvdnav_menu_language_select( p_sys->dvdnav, LANGUAGE_DEFAULT ) != |
|---|
| | 260 | if( dvdnav_menu_language_select( p_sys->dvdnav, (char*)LANGUAGE_DEFAULT ) != |
|---|
| 261 | 261 | DVDNAV_STATUS_OK ) |
|---|
| 262 | 262 | { |
|---|
| … | … | |
| 274 | 274 | /* We try to fall back to 'en' */ |
|---|
| 275 | 275 | if( strcmp( psz_code, LANGUAGE_DEFAULT ) ) |
|---|
| 276 | | dvdnav_audio_language_select( p_sys->dvdnav, LANGUAGE_DEFAULT ); |
|---|
| | 276 | dvdnav_audio_language_select( p_sys->dvdnav, (char*)LANGUAGE_DEFAULT ); |
|---|
| 277 | 277 | } |
|---|
| 278 | 278 | free( psz_code ); |
|---|
| … | … | |
| 287 | 287 | /* We try to fall back to 'en' */ |
|---|
| 288 | 288 | if( strcmp( psz_code, LANGUAGE_DEFAULT ) ) |
|---|
| 289 | | dvdnav_spu_language_select(p_sys->dvdnav, LANGUAGE_DEFAULT ); |
|---|
| | 289 | dvdnav_spu_language_select(p_sys->dvdnav, (char*)LANGUAGE_DEFAULT ); |
|---|
| 290 | 290 | } |
|---|
| 291 | 291 | free( psz_code ); |
|---|