From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4c06e1e4fc2bf2d1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news-xxxfer.readnews.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail Date: Tue, 05 Aug 2008 05:59:07 -0400 From: "Peter C. Chapin" User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Controlling endian-ness? References: <4897b7f5$0$19705$4d3efbfe@news.sover.net> <47815ece-938e-4d19-88b3-492bc710c18b@k37g2000hsf.googlegroups.com> In-Reply-To: <47815ece-938e-4d19-88b3-492bc710c18b@k37g2000hsf.googlegroups.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4898246c$0$19665$4d3efbfe@news.sover.net> Organization: SoVerNet (sover.net) NNTP-Posting-Host: f8464920.news.sover.net X-Trace: DXC=1Ef@ZIM[@WM1H3;A[4ZP5AK6_LM2JZB_Co56ZW christoph.grein@eurocopter.com wrote: > I didn't spot it myself first, but it's easy: > >> procedure Word_Write >> (Stream : access Root_Stream_Type'Class; Item : in Word) is > | >> Buffer : Stream_Element_Array(0..3); >> Workspace : Unsigned_32 := Unsigned_32(Word); -- ERROR HERE! > |should be Item here. Of course! Thanks... and sorry about consuming bandwidth for something so silly. Now I know why I usually suffix type names with "_Type". If I had called it "Word_Type" I probably would not have made the error in the first place. I guess that's what I get for trying to write something quick and dirty! Peter