diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 12:32:17 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 12:32:17 -0700 |
commit | 7d46bf19074988c24992bce9ab483efe90051177 (patch) | |
tree | e21f217bb75856bd1232fc13b912bde03672c00b | |
parent | 454ffe814ad76bc607741c4e71fb752faf64cd5e (diff) | |
download | bc-7d46bf19074988c24992bce9ab483efe90051177.tar.gz bc-7d46bf19074988c24992bce9ab483efe90051177.tar.bz2 bc-7d46bf19074988c24992bce9ab483efe90051177.zip |
strict aliasing
-rw-r--r-- | dc/numeric.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dc/numeric.c b/dc/numeric.c index 6086be5..78b7eec 100644 --- a/dc/numeric.c +++ b/dc/numeric.c @@ -254,8 +254,8 @@ dc_int2data DC_DECLARG((value)) { dc_data result; - bc_init_num((bc_num *)&result.v.number); - bc_int2num((bc_num *)&result.v.number, value); + bc_init_num(&result.v.number); + bc_int2num(&result.v.number, value); result.dc_type = DC_NUMBER; return result; } |