Commit | Line | Data |
---|---|---|
42c361b3 | 1 | /* |
989888af RE |
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 %G% | |
42c361b3 DW |
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); } |