Pleroma.Helpers.QtFastStart: Dialzyer error
lib/pleroma/helpers/qt_fast_start.ex:129:improper_list_constr List construction (cons) will produce an improper list, because its second argument is <<_::32>>. lib/pleroma/helpers/qt_fast_start.ex:129:improper_list_constr List construction (cons) will produce an improper list, because its second argument is <<_::64>>.
This commit is contained in:
parent
6e0945354d
commit
b2ab479488
|
@ -126,9 +126,15 @@ defp rewrite_entries(
|
||||||
<<pos::integer-big-size(unquote(size)), rest::bits>>,
|
<<pos::integer-big-size(unquote(size)), rest::bits>>,
|
||||||
acc
|
acc
|
||||||
) do
|
) do
|
||||||
rewrite_entries(unquote(size), offset, rest, [
|
rewrite_entries(
|
||||||
acc | <<pos + offset::integer-big-size(unquote(size))>>
|
unquote(size),
|
||||||
])
|
offset,
|
||||||
|
rest,
|
||||||
|
acc ++
|
||||||
|
[
|
||||||
|
<<pos + offset::integer-big-size(unquote(size))>>
|
||||||
|
]
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue