1 /*- 2 * Copyright (c) 1980 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.proprietary.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)long_.c 5.2 (Berkeley) 04/12/91"; 10 #endif /* not lint */ 11 12 /* 13 * convert short ints to long. 14 * Needed for literals in -I2 compiles. 15 * used as follows: 16 * integer*4 long 17 * ... 18 * call ftell(long(11)) 19 */ 20 21 long long_(i) 22 short *i; 23 { return((long)*i); } 24