X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fsession_file.c;fp=src%2Fsession_file.c;h=149e6d1a0237000c93e85b793310603ca85fd8e2;hb=0cadb8a350578d857423a3bf3c0ed990cdb2608e;hp=467c581283a0e55899003f469dea476bcd1e07c9;hpb=3591481e871eec154a764e1c78004095144de5b5;p=libsigrok.git diff --git a/src/session_file.c b/src/session_file.c index 467c5812..149e6d1a 100644 --- a/src/session_file.c +++ b/src/session_file.c @@ -284,7 +284,7 @@ SR_API int sr_session_load(struct sr_context *ctx, const char *filename, FALSE, channelname); } } else if (!strncmp(keys[j], "probe", 5)) { - tmp_u64 = g_ascii_strtoull(keys[j]+5, NULL, 10); + tmp_u64 = g_ascii_strtoull(keys[j] + 5, NULL, 10); if (!sdi || tmp_u64 == 0 || tmp_u64 > G_MAXINT) { ret = SR_ERR_DATA; break;