~ubuntu-branches/ubuntu/precise/classpath/precise

« back to all changes in this revision

Viewing changes to native/jni/gtk-peer/gthread-jni.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2006-05-27 16:11:15 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060527161115-h6e39eposdt5snb6
Tags: 2:0.91-3
* Install header files to /usr/include/classpath.
* debian/control: classpath: Conflict with jamvm < 1.4.3 and
  cacao < 0.96 (Closes: #368172).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1258
1258
static jobject
1259
1259
getThreadFromThreadID (JNIEnv * env, gpointer gThreadID)
1260
1260
{
1261
 
  jint threadNum = (jint) gThreadID;
 
1261
  jint threadNum = GPOINTER_TO_INT(gThreadID);
1262
1262
  jobject thread;
1263
1263
 
1264
1264
  if (threadNum < 0)
1305
1305
  SHOW_OLD_TROUBLE ();
1306
1306
 
1307
1307
done:
1308
 
  return (gpointer) threadNum;
 
1308
  return GINT_TO_POINTER(threadNum);
1309
1309
}
1310
1310
 
1311
1311