grim/pidgin

Simplify some type casts.

2019-08-06, Elliott Sales de Andrade
0149cda729f7
Simplify some type casts.

No need to cast away from one type only to use it elsewhere as the
original type (and never as the new one.)
# vi:et:ts=2 sw=2 sts=2
image: pidgin/builder-debian:buster
pipelines:
default:
- step:
script:
- set -ex
- meson -Dsilc=false -Ddoc=true -Dconsole-logging=true build-pipelines
- ninja -C build-pipelines
- ninja -C build-pipelines test
- "ninja -C build-pipelines $(ninja -C build-pipelines -t targets | grep -E '[a-z]+-doc:' | cut -d: -f1)"
branches:
release-2.x.y:
- step:
image: pidgin/release-builder:release-2.x.y
script:
- set -ex
- hg clone https://bitbucket.org/pidgin/libgnt -b release-2.x.y
- meson -Dprefix=/usr libgnt libgnt/build
- ninja -C libgnt/build install
- ldconfig
- ./autogen.sh --enable-debug
- make -s -j$(nproc)
- make -s -j$(nproc) check
- make distcheck