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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,97439a4c062cf25d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.36.66 with SMTP id s2mr10326974qad.6.1368124747442; Thu, 09 May 2013 11:39:07 -0700 (PDT) X-Received: by 10.50.128.105 with SMTP id nn9mr2113290igb.17.1368124747183; Thu, 09 May 2013 11:39:07 -0700 (PDT) Path: y6ni20871qax.0!nntp.google.com!m7no4150177qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 9 May 2013 11:39:06 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.77.226.1; posting-account=xhShowoAAABwJEaFCs7_gHiUlZrBvRhD NNTP-Posting-Host: 189.77.226.1 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: User defined type conversion From: =?ISO-8859-1?Q?Vin=EDcius_Franchini?= Injection-Date: Thu, 09 May 2013 18:39:07 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-05-09T11:39:06-07:00 List-Id: Thanks all for the answers. I see I should be more clear about my problem. What I mean a "direct conversion" is like copy all bits, in the same positions they are in the original variable to the destination variable. I'm programming an ATMEGA2560. I doing it in a way to optimize the code and I did not want to create a method for that. Now I'm thinking something with Union structure. It could solve.