[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuplot-info-beta
Subject: Re: Comment for pgnuplot
From: Tatsuro MATSUOKA <matsuoka () nuce ! nagoya-u ! ac ! jp>
Date: 2005-01-27 9:48:14
Message-ID: 200501271847.CJG04721.BTNUBLVP () nuce ! nagoya-u ! ac ! jp
[Download RAW message or body]
>No. The secondary cast to (unsigned int) is unnecessary, and
>potentially dangerous (because the real parameter type is WPARAM, not
>unsigned int). I've checked into a CVS a version that casts to unsigned
>char.
>If the type were unsigned int, such a cast would be superfluous --- C
>silently applies it already.
Thank you for your comments.
PostMessage( hwnd, WM_CHAR, (unsigned char) *pc, 1L );
Is it OK? It look like works well here.
>> Sometimes I used the script which includes more than 80 character per line.
>So what? Did the existing buffer size of 80 cause you any trouble with
This is my complete misleading. I'm sorry.
Sincerely yours,
Tatsuro MATSUOKA
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic