From 29889061262a94aeb8871b185b29a1699f55af63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 28 Nov 2005 12:24:56 +0000 Subject: *BUGFIX* Improved cross-compiling: detect and precedence of the host-specific libs W32dll: enabled by platforms as originaly, user can override it Fixed shell errors in the Makefile of the hackersguide Detect the place of SDL header independently on platform Fixed spelling in CDDA, include the header sys/param.h if available Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD) CVS patchset: 7815 CVS date: 2005/11/28 12:24:56 --- src/xine-engine/load_plugins.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/xine-engine/load_plugins.c') diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 24f51af45..f7f243938 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.216 2005/09/19 16:14:02 valtri Exp $ + * $Id: load_plugins.c,v 1.217 2005/11/28 12:25:21 valtri Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -794,8 +794,8 @@ static void save_plugin_list(FILE *fp, xine_list_t *plugins) { file = node->file; fprintf(fp, "[%s]\n", file->filename ); - fprintf(fp, "size=%llu\n", (uint64_t) file->filesize ); - fprintf(fp, "mtime=%llu\n", (uint64_t) file->filemtime ); + fprintf(fp, "size=%" PRId64 "\n", (uint64_t) file->filesize ); + fprintf(fp, "mtime=%" PRId64 "\n", (uint64_t) file->filemtime ); fprintf(fp, "type=%d\n", node->info->type ); fprintf(fp, "api=%d\n", node->info->API ); fprintf(fp, "id=%s\n", node->info->id ); @@ -913,10 +913,10 @@ static void load_plugin_list(FILE *fp, xine_list_t *plugins) { } } else if (node) { if( !strcmp("size",line) ) { - sscanf(value," %llu",&llu); + sscanf(value," %" SCNu64,&llu); file->filesize = (off_t) llu; } else if( !strcmp("mtime",line) ) { - sscanf(value," %llu",&llu); + sscanf(value," %" SCNu64,&llu); file->filemtime = (time_t) llu; } else if( !strcmp("type",line) ) { sscanf(value," %d",&i); -- cgit v1.2.3