Fix a GCC (un)signed warning:
lsm/lsm_worker.c:129:3: error: conversion to 'u_int' from 'int' may change the sign of the result