Project

Profile

Help

Revision d69c1ee9

Added by O'Neil Delpratt almost 6 years ago

Bug fix relating to issue #2652

View differences:

latest9.6/hec/Saxon.C.API/XdmNode.cpp
201 201
				<< " not found\n" << std::endl;
202 202
			return 0;
203 203
		}
204
		jint result = (jint)(proc->environ->env->CallStaticObjectMethod(xdmUtilsClass, xmID, 
204
		jint result = (jlong)(proc->environ->env->CallStaticObjectMethod(xdmUtilsClass, xmID,
205 205
		value->xdmvalue));
206 206

  
207 207
		attrCount =(int)result;
......
220 220
				<< " not found\n" << std::endl;
221 221
			return 0;
222 222
		}
223
		jint result = (jint)(proc->environ->env->CallStaticObjectMethod(xdmUtilsClass, xmID, 
223
		jint result = (jlong)(proc->environ->env->CallStaticObjectMethod(xdmUtilsClass, xmID,
224 224
		value->xdmvalue));
225 225

  
226 226
		childCount =(int)result;

Also available in: Unified diff