--- ansh/src/anshd.c 2012/07/22 22:41:33 1.3 +++ ansh/src/anshd.c 2017/01/22 20:47:59 1.3.6.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: anshd.c,v 1.3 2012/07/22 22:41:33 misho Exp $ + * $Id: anshd.c,v 1.3.6.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, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Copyright 2004 - 2017 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -151,7 +151,7 @@ main(int argc, char **argv) strlcpy(szChroot, optarg, sizeof szChroot); break; case 't': - Timeout = abs(strtol(optarg, NULL, 0)); + Timeout = abs((int) strtol(optarg, NULL, 0)); break; case 'd': strlcpy(szDev, optarg, sizeof szDev);