| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| Date: | Fri, 4 May 2007 20:21:00 +0200 |
| From: | Michelle Konzack <dos4michelle AT freenet DOT de> |
| To: | djgpp AT delorie DOT com |
| Subject: | Re: pointer from integer without a cast |
| Message-ID: | <20070504182059.GK1835@freenet.de> |
| References: | <20070504153021 DOT GI1835 AT freenet DOT de> <200705041740 DOT l44HeipI018628 AT envy DOT delorie DOT com> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <200705041740.l44HeipI018628@envy.delorie.com> |
| X-Message-Flag: | Improper configuration of Outlook is a breeding ground for viruses. Please take care your Client is configured correctly. Greetings Michelle. |
| X-Disclaimer-DE: | Eine weitere Verwendung oder die Veroeffentlichung dieser Mail oder dieser Mailadresse ist nur mit der Einwilligung des Autors gestattet. |
| Organisation: | Michelle's Selbstgebrautes |
| X-Operating-System: | Linux tp570.private 2.4.27-tp570 |
| X-Uptime: | 20:05:03 up 2:59, 6 users, load average: 0.22, 0.74, 0.90 |
| X-Homepage: | http://www.dos.tamay-dogan.homelinux.net/ |
| User-Agent: | Mutt/1.5.9i |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
--T5F8Mpu1Sg8jtYtl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hello DJ,
Am 2007-05-04 13:40:44, schrieb DJ Delorie:
>=20
> > 182: dnum =3D num - (long)atoi(xv_get(kbyte_item[n], PANEL_LAB=
EL_S
>=20
> I'm guessing that xv_get either returns an integer, or (more likely)
> you need to #include some header that prototypes it to return a
> pointer.
------------------------- END OF REPLIED MESSAGE -------------------------
I was thinking this too, but I have:
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <malloc.h>
#include <sys/types.h>
#include <sys/vfs.h>
#include <xview/xview.h>
#include <xview/frame.h>
#include <xview/panel.h>
#include <xview/notice.h>
#include <xview/notify.h>
#include <xview/svrimage.h>
#include <xview/icon.h>
#include <xview/rect.h>
#include <xview/cms.h>
#include <X11/Xos.h>
#ifndef MAXPATHLEN
#include <sys/param.h>
#endif /* MAXPATHLEN */
#ifndef MAXHOSTNAMELEN
#include <netdb.h>
#endif /* MAXHOSTNAMELEN */
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--=20
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
--T5F8Mpu1Sg8jtYtl
Content-Type: application/pgp-signature; name="signature.pgp"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFGO3mLXnHp6ejAnVoRAnwkAJ9icmjXuXNBjRbxn9COERWFPydDTACfdGsh
Gb8o3NShPFqRayM32JUDCow=
=K3Ar
-----END PGP SIGNATURE-----
--T5F8Mpu1Sg8jtYtl--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |