summaryrefslogtreecommitdiff
path: root/libpcsxcore/plugins.c
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-09 06:19:35 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-07-09 06:19:35 +0000
commitfd6e2e2b6ccb5474df022d76c9b9c23508ba787d (patch)
tree2f90db9624e789e0169659bad1f165e5a34f21db /libpcsxcore/plugins.c
parent302832eabec2f062591162840da9dbe9a127f780 (diff)
downloadpcsxr-fd6e2e2b6ccb5474df022d76c9b9c23508ba787d.tar.gz
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
Diffstat (limited to 'libpcsxcore/plugins.c')
-rwxr-xr-xlibpcsxcore/plugins.c6
1 files changed, 3 insertions, 3 deletions
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;