summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-11-04 21:49:00 +0100
committerHarald Welte <laforge@gnumonks.org>2011-11-04 21:49:00 +0100
commitd4e423f09dd9361d0e5612f30b224ef21362c8a9 (patch)
tree590b8d5e7b5b23d361d21431dd88b761559400bd
parent7dadde8c70131b14b14445246e2f68c7331e26e8 (diff)
bssmap_codec: fix bin_bcd2str (cought by dialyzer)
-rw-r--r--src/bssmap_codec.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bssmap_codec.erl b/src/bssmap_codec.erl
index 61cf85e..530c62e 100644
--- a/src/bssmap_codec.erl
+++ b/src/bssmap_codec.erl
@@ -193,5 +193,5 @@ bin_bcd2str(<<>>, List) ->
List;
bin_bcd2str(BcdBin, List) ->
<<Nibble:4, Remain/bitstring>> = BcdBin,
- Char = "0" + Nibble,
+ Char = $0 + Nibble,
bin_bcd2str(Remain, List ++ [Char]).