diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo_util.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo_util.erl b/src/osmo_util.erl index 3c12952..584f9ec 100644 --- a/src/osmo_util.erl +++ b/src/osmo_util.erl @@ -145,6 +145,8 @@ make_prim(Subsys, GenName, SpecName, Param) -> % parse a 3-tuple pointcode into a raw integer pointcode2int(Int) when is_integer(Int) -> Int; +pointcode2int(undefined) -> + undefined; pointcode2int(#pointcode{repr=Type, value=Value}) -> pointcode2int(Type, Value); pointcode2int({Std, Param}) -> |