*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
#include <stdio.h>
#include <string.h>
-
-#include <epan/proto.h>
-#include <epan/packet.h>
-#include <epan/prefs.h>
+#include <stdlib.h>
#include "clopts_common.h"
#include "cmdarg_err.h"
name, string, INT_MAX);
exit(1);
}
- return number;
+ return (int)number;
}
int
get_positive_int(const char *string, const char *name)
{
- long number;
+ int number;
number = get_natural_int(string, name);