diff options
author | Dan Gudmundsson <[email protected]> | 2016-02-25 08:37:19 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-02-29 09:21:12 +0100 |
commit | 349673e2ffaa0916890fa3e24205197e79e371cd (patch) | |
tree | 3fa2fd34361d5bbbdd105da90b2edb01f7046e89 /lib/wx/api_gen/gl_gen.erl | |
parent | 7220c5982d688ba5b6a647e41b973c5eb46f0020 (diff) | |
download | otp-349673e2ffaa0916890fa3e24205197e79e371cd.tar.gz otp-349673e2ffaa0916890fa3e24205197e79e371cd.tar.bz2 otp-349673e2ffaa0916890fa3e24205197e79e371cd.zip |
wx: Remove http_util usage
Use erlang builtin list_to_integer instead
Diffstat (limited to 'lib/wx/api_gen/gl_gen.erl')
-rw-r--r-- | lib/wx/api_gen/gl_gen.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/api_gen/gl_gen.erl b/lib/wx/api_gen/gl_gen.erl index 8b24e38cc0..ab8f842d31 100644 --- a/lib/wx/api_gen/gl_gen.erl +++ b/lib/wx/api_gen/gl_gen.erl @@ -191,7 +191,7 @@ parse_define([#xmlElement{name=initializer,content=Contents}|_R],Def,_Os) -> try case Val0 of "0x" ++ Val1 -> - _ = http_util:hexlist_to_integer(Val1), + _ = list_to_integer(Val1, 16), Def#def{val=Val1, type=hex}; _ -> Val = list_to_integer(Val0), |