* random.c (random_seed): Use correct variable.
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 May 2004 16:18:22 +0000 (16:18 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 May 2004 16:18:22 +0000 (16:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82167 138bc75d-0d04-0410-961f-82ee72b054a4

libgfortran/ChangeLog
libgfortran/intrinsics/random.c

index e6cfffb..edf4919 100644 (file)
@@ -1,3 +1,7 @@
+2004-05-23  Steven G. Kargl  <kargls@comcast.net>
+
+       * random.c (random_seed): Use correct variable.
+
 2004-05-22  Steven G. Kargl  <kargls@comcast.net>
 
        * intrinsics/system_clock: New file.
index 120c951..09a3fea 100644 (file)
@@ -121,7 +121,7 @@ random_seed (GFC_INTEGER_4 * size, const gfc_array_i4 * put,
        abort ();
 
       /* If this is the case the array is a temporary */
-      if (get->dim[0].stride == 0)
+      if (put->dim[0].stride == 0)
        return;
 
       /*  This code now should do correct strides. */