From: altitude@umich.edu (Alex Tang)
Subject: newbie question
Date: 6 Feb 1995 23:39:49 GMT [thread overview]
Message-ID: <3h6c05$2j1@lastactionhero.rs.itd.umich.edu> (raw)
Hi folks. Please excuse the complete newbie question, but i'm new to this
world of osf1 and dec alphas.
Whenever i try to put something like:
char *s
s = ( char * )strdup( "Hello There" );
I get something that says:
warning: cast to pointer from integer of different size
So, i figure it's because of the size of ints and longs on the alphas, but
what should i do to fix this?
Thanx very much.
...alex...
Alex Tang altitude@umich.edu http://www.snre.umich.edu/~altitude
CICNet: Computer Systems Consultant/Systems Administrator
UM-SNRE: Student (I'm gonna graduate somday...REALLY!)
UM-NCEET: Gopher/Web/Wais/Unix admin.
next reply other threads:[~1995-02-06 23:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-02-06 23:39 Alex Tang [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-06-15 4:00 newbie question Nissim Broudo
1997-06-15 4:00 ` Stephen Stuart
1997-06-15 4:00 ` jude
1997-06-16 4:00 ` Alan Way
1997-06-17 4:00 ` slim
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox