use sscanf with the correct type conversion and not atoi/atol to load nframes_t and...