summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libg2c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-05-23 13:43:04 +0000
committerdfr <dfr@FreeBSD.org>1999-05-23 13:43:04 +0000
commitd29ad2b6b295751c4d019bd217909f9abfd3d306 (patch)
tree8044909e538580d1005040a04658120e2e0f9f97 /gnu/lib/libg2c
parente29941bde7ecd091b903658243ee690f5ace26ad (diff)
downloadFreeBSD-src-d29ad2b6b295751c4d019bd217909f9abfd3d306.zip
FreeBSD-src-d29ad2b6b295751c4d019bd217909f9abfd3d306.tar.gz
Use the correct width integer on both i386 and alpha.
Reviewed by: Steve Price <sprice@hiwaay.net>
Diffstat (limited to 'gnu/lib/libg2c')
-rw-r--r--gnu/lib/libg2c/g2c.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/lib/libg2c/g2c.h b/gnu/lib/libg2c/g2c.h
index f2f4ad1..71e021d 100644
--- a/gnu/lib/libg2c/g2c.h
+++ b/gnu/lib/libg2c/g2c.h
@@ -18,7 +18,7 @@
/* F2C_INTEGER will normally be `int' but would be `long' on 16-bit systems */
/* we assume short, float are OK */
-typedef long int /* long int */ integer;
+typedef int /* long int */ integer;
typedef unsigned long int /* long */ uinteger;
typedef char *address;
typedef short int shortint;
@@ -26,7 +26,7 @@ typedef float real;
typedef double doublereal;
typedef struct { real r, i; } complex;
typedef struct { doublereal r, i; } doublecomplex;
-typedef long int /* long int */ logical;
+typedef int /* long int */ logical;
typedef short int shortlogical;
typedef char logical1;
typedef char integer1;
@@ -52,9 +52,9 @@ typedef short flag;
typedef short ftnlen;
typedef short ftnint;
#else
-typedef long int /* long int */ flag;
-typedef long int /* long int */ ftnlen;
-typedef long int /* long int */ ftnint;
+typedef int /* long int */ flag;
+typedef int /* long int */ ftnlen;
+typedef int /* long int */ ftnint;
#endif
/*external read, write*/
OpenPOWER on IntegriCloud