Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/blob.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-31 05:48:02 +0300
committerFelix Fietkau <nbd@openwrt.org>2011-01-31 05:50:36 +0300
commitcad5bea36d0271f291a88adbf58ef2ad50c6160a (patch)
tree9879fe1e11ff5ee3677e9bee0125a7d96f45c0b7 /blob.c
parentf2b9272e0b427545e34b27ba4be4a5b1bbc6ad69 (diff)
blob: constify
Diffstat (limited to 'blob.c')
-rw-r--r--blob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/blob.c b/blob.c
index cafd74c..26a23f3 100644
--- 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;
+ const char *data = ptr;
if (type >= BLOB_ATTR_LAST)
return false;