The buffer cannot be changed by this function, so change the buffer pointer to a const. This allows callers with const pointer to use the function without a cast. Signed-off-by: Simon Glass <sjg@chromium.org>master
parent
6b3ff98da4
commit
bda32ffcf7
Loading…
Reference in new issue