From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cb1d289449686e13,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-02-06 15:39:49 PST Path: nntp.gmd.de!dearn!esoc!linuxed1!peernews.demon.co.uk!doc.news.pipex.net! pipex!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!news.itd.umich.edu!altitude From: altitude@umich.edu (Alex Tang) Newsgroups: comp.unix.osf.osf1 Subject: newbie question Date: 6 Feb 1995 23:39:49 GMT Organization: University of Michigan Message-ID: <3h6c05$2j1@lastactionhero.rs.itd.umich.edu> NNTP-Posting-Host: fiasco.snre.umich.edu X-Newsreader: TIN [version 1.2 PL2] 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.