[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ssize_t must be a signed type
From: |
Ludovic Courtès |
Subject: |
Re: ssize_t must be a signed type |
Date: |
Wed, 02 Aug 2006 15:43:34 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
address@hidden (Ludovic Courtès) writes:
> "gregory benison" <address@hidden> writes:
>
>> (wrap-ranged-integer-type! wrapset
>> #:name 'ssize_t
>> #:c-type-name "ssize_t"
>> - #:max "SSIZE_MAX"
>> + #:min "(1 - SSIZE_MAX)" #:max "SSIZE_MAX"
>> #:ffspec 'ssize_t)
>
> Shouldn't `min' be `(- SSIZE_MAX - 1)' rather? I think so.
>
> I'll put it in my branch which is located at
> http://www.laas.fr/~lcourtes/software/arch-2005/ .
Ok, I checked this in in my
address@hidden/g-wrap--devo--2.0' branch, along with a
test case.
Let me know if it works for you.
Thanks,
Ludovic.