diff --git a/libjava/classpath/ChangeLog.gcj b/libjava/classpath/ChangeLog.gcj
index 98b35cfdbfb56430f38e1e9c33ff8378ca2bd421..11d0132fc99b45d2936821bb0864942d5d7f5677 100644
--- a/libjava/classpath/ChangeLog.gcj
+++ b/libjava/classpath/ChangeLog.gcj
@@ -1,3 +1,9 @@
+2006-09-25  Mark Wielaard  <mark@klomp.org>
+
+	Suggested by Aaron M. Ucko <ucko@debian.org>
+	Fixes bug #29203
+	* native/fdlibm/mprec.c (ulp): Define L as int32_t.
+
 2006-09-22  David Daney  <ddaney@avtrex.com>
 
 	PR classpath/28661
diff --git a/libjava/classpath/native/fdlibm/mprec.c b/libjava/classpath/native/fdlibm/mprec.c
index e53722f7b951b0d215de5cadc25715b8c6a97b82..31e09ddaae9b4dd51607fb19ec42deb67cd0c22f 100644
--- a/libjava/classpath/native/fdlibm/mprec.c
+++ b/libjava/classpath/native/fdlibm/mprec.c
@@ -666,7 +666,7 @@ double
 _DEFUN (ulp, (_x), double _x)
 {
   union double_union x, a;
-  register __Long L;
+  register int32_t L;
 
   x.d = _x;