projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blob: constify
[project/libubox.git]
/
blob.c
diff --git
a/blob.c
b/blob.c
index
cafd74c
..
26a23f3
100644
(file)
--- a/
blob.c
+++ b/
blob.c
@@
-132,9
+132,9
@@
static const int blob_type_minlen[BLOB_ATTR_LAST] = {
};
bool
-blob_check_type(void *ptr, int len, int type)
+blob_check_type(
const
void *ptr, int len, int type)
{
- char *data = ptr;
+ c
onst c
har *data = ptr;
if (type >= BLOB_ATTR_LAST)
return false;