diff options
author | Nikias Bassen | 2010-01-13 01:45:42 +0100 |
---|---|---|
committer | Martin Szulecki | 2010-01-13 01:54:05 +0100 |
commit | 471c997e66015a093afa9146d764d678514fed52 (patch) | |
tree | 70df4bc44ce21ed68c1f246564edeab9543dd3b8 /dev/lckdclient.c | |
parent | 5c19d486959454560515666b0d250c20d9938d00 (diff) | |
download | libimobiledevice-471c997e66015a093afa9146d764d678514fed52.tar.gz libimobiledevice-471c997e66015a093afa9146d764d678514fed52.tar.bz2 |
lockdown/tools/python: use correct type for port parameter
Diffstat (limited to 'dev/lckdclient.c')
-rw-r--r-- | dev/lckdclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/lckdclient.c b/dev/lckdclient.c index adf0aaa..7b7604e 100644 --- a/dev/lckdclient.c +++ b/dev/lckdclient.c @@ -92,7 +92,7 @@ int main(int argc, char *argv[]) } if (!strcmp(*args, "start") && len == 2) { - int port = 0; + uint16_t port = 0; if(LOCKDOWN_E_SUCCESS == lockdownd_start_service(client, *(args + 1), &port)) { printf("started service %s on port %i\n", *(args + 1), port); } |