diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-01-31 05:48:02 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-01-31 05:50:36 +0300 |
commit | cad5bea36d0271f291a88adbf58ef2ad50c6160a (patch) | |
tree | 9879fe1e11ff5ee3677e9bee0125a7d96f45c0b7 /blob.c | |
parent | f2b9272e0b427545e34b27ba4be4a5b1bbc6ad69 (diff) |
blob: constify
Diffstat (limited to 'blob.c')
-rw-r--r-- | blob.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |