X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/1ed56a05c26b6cb6f3891ce16be89aeab388a293..d724dd186ed6a2d66fa13a9357ce91e459d39e8c:/rsync.h diff --git a/rsync.h b/rsync.h index d6a4b18e..5ac914fe 100644 --- a/rsync.h +++ b/rsync.h @@ -2,7 +2,7 @@ * Copyright (C) 1996, 2000 Andrew Tridgell * Copyright (C) 1996 Paul Mackerras * Copyright (C) 2001, 2002 Martin Pool - * Copyright (C) 2003-2007 Wayne Davison + * Copyright (C) 2003-2008 Wayne Davison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -94,7 +94,7 @@ /* This is used when working on a new protocol version in CVS, and should * be a new non-zero value for each CVS change that affects the protocol. * It must ALWAYS be 0 when the protocol goes final! */ -#define SUBPROTOCOL_VERSION 17 +#define SUBPROTOCOL_VERSION 0 /* We refuse to interoperate with versions that are not in this range. * Note that we assume we'll work with later versions: the onus is on @@ -409,13 +409,13 @@ enum msgcode { #include "lib/pool_alloc.h" #ifndef HAVE_ID_T -typedef int id_t; +typedef unsigned int id_t; #endif #ifndef HAVE_PID_T typedef int pid_t; #endif #ifndef HAVE_MODE_T -typedef int mode_t; +typedef unsigned int mode_t; #endif #ifndef HAVE_OFF_T typedef long off_t;