FYI, there are some explicit ( BYTE * ) casts to hb_parc*()
calls in hsx.c, sxcompr.c, sxcrypt.c and usrrdd.c.

Brgds,
Viktor

On 2009.06.26., at 11:26, Przemyslaw Czerpak wrote:

On Fri, 26 Jun 2009, Szak�ts Viktor wrote:

Hi,

Shouldn't the last (input buffer) parameter of hb_gtRest()
be also protected with 'const'?

Yes it should. Thank you for the note. I missed it.
Probably we will find also few other functions which should be
converted.
If we remove casting to void* then such missing modifiers will
be detected automatically.
BTW We have in the code some unnecessary ([const]char*) and
([const]BYTE*) castings which we can safely remove now.
If you find them then please remove the casting. Without such explicit
casting any potential problems (f.e. type mismatch) are reported at
compile time.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to