FreeCalypso > hg > freecalypso-hwlab
diff simtool/writecmd.c @ 150:54e33e9238b6
fc-simtool: harmonize hex string code with fc-uicc-tool
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 07 Feb 2021 00:06:50 +0000 |
parents | 4aaf722ab933 |
children | d515cfbb3f39 |
line wrap: on
line diff
--- a/simtool/writecmd.c Sun Feb 07 00:01:55 2021 +0000 +++ b/simtool/writecmd.c Sun Feb 07 00:06:50 2021 +0000 @@ -36,7 +36,7 @@ fprintf(stderr, "error: offset argument is out of range\n"); return(-1); } - rc = decode_hex_data_from_string(argv[2], data); + rc = decode_hex_data_from_string(argv[2], data, 255); if (rc < 0) return(rc); len = rc;