[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, master, updated. release_1-9-3-76-g324

From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-3-76-g3245c0f
Date: Thu, 15 Oct 2009 15:38:52 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, master has been updated
       via  3245c0fbefa2f119918e42cc1691fb9a41feb792 (commit)
      from  1ab3976ef742f01c1e21c92d72277debcd88b2ee (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3245c0fbefa2f119918e42cc1691fb9a41feb792
Author: Andy Wingo <address@hidden>
Date:   Thu Oct 15 17:39:34 2009 +0200

    signedness fix fix fix
    * libguile/inline.h: Fix signedness fix fix.


Summary of changes:
 libguile/inline.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libguile/inline.h b/libguile/inline.h
index eaa7494..09a1b5a 100644
--- a/libguile/inline.h
+++ b/libguile/inline.h
@@ -256,7 +256,7 @@ SCM_C_EXTERN_INLINE
 scm_array_handle_set (scm_t_array_handle *h, ssize_t p, SCM v)
-  if (SCM_UNLIKELY (p < 0 && -p > (ssize_t) h->base))
+  if (SCM_UNLIKELY (p < 0 && ((size_t)-p) > h->base))
     /* catch overflow */
     scm_out_of_range (NULL, scm_from_ssize_t (p));
   /* perhaps should catch overflow here too */

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]