From: Christian Kruse Date: Tue, 13 May 2014 08:42:37 +0000 (+0200) Subject: bdr: fix: use same datatype as bdr_max_workers to avoid compiler warning X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=eeccbfbe0afc11b0955a00fee3b14863790155aa;p=users%2Fandresfreund%2Fpostgres.git bdr: fix: use same datatype as bdr_max_workers to avoid compiler warning --- diff --git a/contrib/bdr/bdr.c b/contrib/bdr/bdr.c index 7de5c5cc0f..23e977782b 100644 --- a/contrib/bdr/bdr.c +++ b/contrib/bdr/bdr.c @@ -1296,7 +1296,7 @@ bdr_worker_shmem_create_workers(void) BdrWorker* bdr_worker_shmem_alloc(BdrWorkerType worker_type, uint32 *ctl_idx) { - uint32 i; + int i; LWLockAcquire(BdrWorkerCtl->lock, LW_EXCLUSIVE); for (i = 0; i < bdr_max_workers; i++) {