Ben Pfaff <[email protected]> writes:

> John Darrington <[email protected]> writes:
>
>> On Fri, Sep 17, 2010 at 09:36:27PM -0700, Ben Pfaff wrote:
>>      case_str_rw() returns uint8_t * but it was being assigned to a char *.
>>      Changing the type of the variable fixes the problem.
>>
>> The real problem here is the call to memcpy just a few lines down.
>> memcpy is as bad (worse?) than a cast, because it uses void * so
>> avoids typechecking.  This memcpy should be doing some recoding.
>
> OK, how about the following then?
>
> Thanks,
>
> Ben.
>
> --8<--------------------------cut here-------------------------->8--
>
> From: Ben Pfaff <[email protected]>
> Date: Sun, 19 Sep 2010 20:55:46 -0700
> Subject: [PATCH] RECODE: Suppress warning about conversion using 
> CHAR_CAST_BUG.

Having given this 3 days, I pushed this out.
-- 
Ben Pfaff 
http://benpfaff.org

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to