diff options
author | Penny Chiu <pchiu@nvidia.com> | 2014-04-11 17:50:39 +0800 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2014-04-15 12:02:06 -0600 |
commit | b81d219677b624ce4b554ab99c369e5ffeee5299 (patch) | |
tree | f7421d5ec91667a963279cca3f7e82ee41269fa9 /src/parse.c | |
parent | ee24d10641faa87124094621ba2d5583123c47a9 (diff) | |
download | cbootimage-b81d219677b624ce4b554ab99c369e5ffeee5299.tar.gz |
Accept void pointer as input data type for get/set_value functions
This change uses void * as input data type for
cbootimage_soc_config.get/set_value and context_set_value functions.
This makes the functions can accept various data types based on
different tokens.
Signed-off-by: Penny Chiu <pchiu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'src/parse.c')
-rw-r--r-- | src/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c index 464ee8f..f82c008 100644 --- a/src/parse.c +++ b/src/parse.c @@ -482,7 +482,7 @@ static int parse_value_u32(build_image_context *context, if (rest == NULL) return 1; - return context_set_value(context, token, value); + return context_set_value(context, token, &value); } /* |