[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdebindings/kalyptus
From: Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date: 2005-10-06 11:29:08
Message-ID: 1128598148.618933.22647.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 467769 by rdale:
* Fixed code generation error for QPointArray.putPoints(), a jint
is now correctly cast to a uint. Fixes problem reported by
Thomas Zander
CCMAIL: kde-java@kde.org
M +3 -3 kalyptusCxxToJNI.pm
--- branches/KDE/3.5/kdebindings/kalyptus/kalyptusCxxToJNI.pm #467768:467769
@@ -1260,7 +1260,7 @@
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPointArray_setPoints(JNIEnv *env, jobject obj, jint nPoints, \
jshortArray points) {
- if (!((QPointArrayJBridge*) QtSupport::getQt(env, obj))->resize(nPoints)) {
+ if (!((QPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint)nPoints)) {
return JNI_FALSE;
}
@@ -1274,8 +1274,8 @@
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QPointArray_putPoints__II_3S(JNIEnv *env, jobject obj, jint index, \
jint nPoints, jshortArray points) {
- if ( ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->size() < nPoints
- && !((QPointArrayJBridge*) QtSupport::getQt(env, obj))->resize(nPoints) )
+ if ( ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->size() < (uint) nPoints
+ && !((QPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint) nPoints) )
{
return JNI_FALSE;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic