| 1771 | |
| 1772 | |
| 1773 | static ulg LG(ulg val) |
| 1774 | { |
| 1775 | /* convert the big-endian unsigned long number `val' to the machine |
| 1776 | * dependent representation |
| 1777 | */ |
| 1778 | ush swapbuf[2]; |
| 1779 | |
| 1780 | swapbuf[1] = SH((ush)(val & 0xffff)); |
| 1781 | swapbuf[0] = SH((ush)(val >> 16)); |
| 1782 | return (*(ulg *)swapbuf); |
| 1783 | } |
| 1784 | |
| 1785 | |
| 1786 |