From 6952aa343e0e7378b8f936fcd2903919103d422f Mon Sep 17 00:00:00 2001 From: asn Date: Wed, 15 Dec 2010 17:54:17 +0000 Subject: osutil: Fixed a lot of build warnings. Fixed brc #644056. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1626 c9f7a03b-bd48-0410-a16d-cbbf54688b0b --- pki/base/osutil/src/com/netscape/osutil/UserID.c | 2 +- pki/base/osutil/src/com/netscape/osutil/unixdefs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pki/base/osutil') diff --git a/pki/base/osutil/src/com/netscape/osutil/UserID.c b/pki/base/osutil/src/com/netscape/osutil/UserID.c index a48e8eb8b..456fe10fd 100644 --- a/pki/base/osutil/src/com/netscape/osutil/UserID.c +++ b/pki/base/osutil/src/com/netscape/osutil/UserID.c @@ -33,7 +33,7 @@ * Throw an IllegalArgumentException */ void -unix_throw_exception(JNIEnv *env, char *exception, char *reason) +unix_throw_exception(JNIEnv *env, const char *exception, const char *reason) { jclass exc; diff --git a/pki/base/osutil/src/com/netscape/osutil/unixdefs.h b/pki/base/osutil/src/com/netscape/osutil/unixdefs.h index 35e3e2bd7..d5cae2afa 100644 --- a/pki/base/osutil/src/com/netscape/osutil/unixdefs.h +++ b/pki/base/osutil/src/com/netscape/osutil/unixdefs.h @@ -10,5 +10,5 @@ #define SECURITY "java/lang/SecurityException" #define RUNTIME "java/lang/Runtime" -void unix_throw_exception(JNIEnv *env, char *exception, char *reason); +void unix_throw_exception(JNIEnv *env, const char *exception, const char *reason); -- cgit