diff --git a/.pick_status.json b/.pick_status.json index 09d2a441af2..da3796f6ea2 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -964,7 +964,7 @@ "description": "util/blob: Fix const correctness warning in blob_read_string", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "1c9877327ead37b7dd5a0ca3a8c7912e924328e5", "notes": null diff --git a/src/util/blob.c b/src/util/blob.c index 9fb30e30e96..fb583c94abf 100644 --- a/src/util/blob.c +++ b/src/util/blob.c @@ -330,7 +330,7 @@ blob_read_string(struct blob_reader *blob) { int size; char *ret; - uint8_t *nul; + const uint8_t *nul; /* If we're already at the end, then this is an overrun. */ if (blob->current >= blob->end) {