From: Jeremy Tan Date: Sat, 14 Sep 2013 01:54:14 +0000 (+0800) Subject: Use FCGI_INT_T instead of FCGI_LONG_T as appropriate X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4f1f3077d6b38e212527b0aaaf7564ba83f0ba81;p=matches%2FMCTX3420.git Use FCGI_INT_T instead of FCGI_LONG_T as appropriate The difference will matter on platforms where sizeof(long) != sizeof(int) --- diff --git a/server/actuator.c b/server/actuator.c index b3cb361..ff51732 100644 --- a/server/actuator.c +++ b/server/actuator.c @@ -220,7 +220,7 @@ void Actuator_Handler(FCGIContext * context, char * params) // key/value pairs FCGIValue values[] = { - {"id", &id, FCGI_REQUIRED(FCGI_LONG_T)}, + {"id", &id, FCGI_REQUIRED(FCGI_INT_T)}, {"set", &set, FCGI_DOUBLE_T}, {"start_time", &start_time, FCGI_DOUBLE_T}, {"end_time", &end_time, FCGI_DOUBLE_T},