xref: /original-bsd/usr.bin/f77/libF77/long_.c (revision 9087ff44)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  *
6  *	@(#)long_.c	5.1	06/07/85
7  */
8 
9 /*
10  * convert short ints to long.
11  * Needed for literals in -I2 compiles.
12  * used as follows:
13  *	integer*4 long
14  *	...
15  *	call ftell(long(11))
16  */
17 
18 long long_(i)
19 short *i;
20 {	return((long)*i);	}
21