--- ansh/src/ansh3.c 2015/05/19 23:30:06 1.4.2.1 +++ ansh/src/ansh3.c 2017/01/22 20:47:59 1.4.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: ansh3.c,v 1.4.2.1 2015/05/19 23:30:06 misho Exp $ + * $Id: ansh3.c,v 1.4.2.2 2017/01/22 20:47:59 misho Exp $ * ************************************************************************* The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2015 +Copyright 2004 - 2017 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -115,7 +115,7 @@ main(int argc, char **argv) } break; case 't': - Timeout = abs(strtol(optarg, NULL, 0)); + Timeout = abs((int) strtol(optarg, NULL, 0)); break; case 'i': id = strtol(optarg, NULL, 0);