OSDN Git Service

udp: Fix a compilation warning
authorMartin Storsjö <martin@martin.st>
Fri, 17 Jun 2011 07:08:23 +0000 (10:08 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 30 Jun 2011 09:04:46 +0000 (12:04 +0300)
commit5d62d0b114807cc143079a8a0430b86d585ab606
tree2fd54237e8646da3428561b1004868315e9646cc
parent705b21a06ed357ed2b432b967c4fcb09fb992d02
udp: Fix a compilation warning

This fixes this compilation warning, by making endptr a non-const
pointer, as required by strtol:
In function ‘udp_open’:
warning: passing argument 2 of ‘strtol’ from incompatible pointer type

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