Fix harmless warning.

tomcast.c: In function connect_source:
tomcast.c:540: warning: comparison between signed and unsigned