test1509: Fixed compilation warning

lib1509.c:93:18: warning: conversion to 'long int' from 'size_t' may
                 alter its value