tcp: Explicitly convert a pointer to a boolean integer
authorMartin Storsjö <martin@martin.st>
Mon, 9 Sep 2013 08:28:14 +0000 (11:28 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 9 Sep 2013 20:57:04 +0000 (23:57 +0300)
commita6a4596e12192375e1d9dffeae24d6d4c41b25c1
tree421025c2c6a9702a53a0bdd05b145de77027cd7a
parent26f027fba1c5ab482fa2488fbe0fa36c8bb33b69
tcp: Explicitly convert a pointer to a boolean integer

This fixes warnings about making integers from pointers without
a cast, and avoids the theoretical case where the lower 32 bits of
the pointer would all be zero where the implicit cast wouldn't give
the right result.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/tcp.c