[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3055-g80e5476

Jeremy Allison jra at samba.org
Tue Jul 1 22:52:32 GMT 2008


The branch, v3-3-test has been updated
       via  80e547665d104a6db376ff4c48bcc01dfd3513ee (commit)
      from  d85cbdbe296ec6de5bdbd66a90ca41345f55c837 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 80e547665d104a6db376ff4c48bcc01dfd3513ee
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Jul 1 15:51:54 2008 -0700

    Jim Brown <jim.brown at miami.edu> was right, this needs to be a signed int or
    the loop never terminates.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/lib/smbconf/smbconf_util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/smbconf/smbconf_util.c b/source/lib/smbconf/smbconf_util.c
index aa16369..271fc47 100644
--- a/source/lib/smbconf/smbconf_util.c
+++ b/source/lib/smbconf/smbconf_util.c
@@ -132,7 +132,7 @@ bool smbconf_find_in_array(const char *string, char **list,
 bool smbconf_reverse_find_in_array(const char *string, char **list,
 				   uint32_t num_entries, uint32_t *entry)
 {
-	uint32_t i;
+	int32_t i;
 
 	if ((string == NULL) || (list == NULL) || (num_entries == 0)) {
 		return false;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list