From fd6e2e2b6ccb5474df022d76c9b9c23508ba787d Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Tue, 9 Jul 2013 06:19:35 +0000 Subject: Fix some minor warnings on SysPrintf and SysMessage use in libpcsxcore. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85929 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/plugins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpcsxcore/plugins.c') diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c index 5d7c5220..05770154 100755 --- a/libpcsxcore/plugins.c +++ b/libpcsxcore/plugins.c @@ -729,7 +729,7 @@ void CALLBACK clearDynarec(void) { } int LoadPlugins() { - int ret; + long ret; char Plugin[MAXPATHLEN]; ReleasePlugins(); @@ -787,13 +787,13 @@ int LoadPlugins() { if (ret < 0) { SysMessage (_("Error initializing SIO1 plugin: %d"), ret); return -1; } #endif - SysPrintf(_("Plugins loaded.\n")); + SysPrintf("%s", _("Plugins loaded.\n")); return 0; } void ReleasePlugins() { if (Config.UseNet) { - int ret = NET_close(); + long ret = NET_close(); if (ret < 0) Config.UseNet = FALSE; } NetOpened = FALSE; -- cgit v1.2.3