diff options
author | asn <asn@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-12-15 17:54:17 +0000 |
---|---|---|
committer | asn <asn@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2010-12-15 17:54:17 +0000 |
commit | 6952aa343e0e7378b8f936fcd2903919103d422f (patch) | |
tree | 5825b6b227f0e05f6c1d8783c5d1c2f18088c914 /pki/base/osutil | |
parent | f309cc2680b136e8d6f92bdc8a8ef1adad9ebd83 (diff) | |
download | pki-6952aa343e0e7378b8f936fcd2903919103d422f.tar.gz pki-6952aa343e0e7378b8f936fcd2903919103d422f.tar.xz pki-6952aa343e0e7378b8f936fcd2903919103d422f.zip |
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
Diffstat (limited to 'pki/base/osutil')
-rw-r--r-- | pki/base/osutil/src/com/netscape/osutil/UserID.c | 2 | ||||
-rw-r--r-- | pki/base/osutil/src/com/netscape/osutil/unixdefs.h | 2 |
2 files changed, 2 insertions, 2 deletions
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); |