| 846 | } |
| 847 | |
| 848 | void |
| 849 | exportascii_sfi_uint16(NHFILE *nhfp, uint16 *d_uint16, const char *myname UNUSED) |
| 850 | { |
| 851 | char *rstr; |
| 852 | unsigned int tmp; |
| 853 | long long lltmp; |
| 854 | |
| 855 | rstr = get_savefield(nhfp, linebuf, BUFSZ); |
| 856 | lltmp = atoll(rstr); |
| 857 | tmp = (unsigned int) lltmp; |
| 858 | #ifdef SAVEFILE_DEBUGGING |
| 859 | if (nhfp->structlevel && tmp != *d_uint) |
| 860 | report_problem_ascii(nhfp, myparent, myname, parent); |
| 861 | else |
| 862 | #endif |
| 863 | *d_uint16 = tmp; |
| 864 | d_uint16++; |
| 865 | } |
| 866 | |
| 867 | void |
| 868 | exportascii_sfi_uint32(NHFILE *nhfp, uint32 *d_uint32, const char *myname UNUSED) |
nothing calls this directly
no test coverage detected