<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
same.. lol</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
--<br>
Alexander Grotewohl<br>
<a href="https://dcclost.com" target="_blank">https://dcclost.com</a></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> fpc-devel <fpc-devel-bounces@lists.freepascal.org> on behalf of Michael Ring via fpc-devel <fpc-devel@lists.freepascal.org><br>
<b>Sent:</b> Wednesday, April 22, 2020 8:21:55 AM<br>
<b>To:</b> fpc-devel@lists.freepascal.org <fpc-devel@lists.freepascal.org><br>
<b>Cc:</b> Michael Ring <mail@michael-ring.org><br>
<b>Subject:</b> Re: [fpc-devel] Possible error in generated code for arm?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">AAAAArrrrrrrrrggggghhhhhhhh.......<br>
<br>
I feel completely stupid!!!!!<br>
<br>
Thank you for the Hint Jonas, using pxBuffer^ did the trick!<br>
<br>
Michael<br>
<br>
<br>
Am 22.04.20 um 11:15 schrieb Jonas Maebe:<br>
> On 22/04/2020 00:09, Michael Ring via fpc-devel wrote:<br>
>> function memset(pxBuffer:pointer; value : byte; count : Tsize):pointer;<br>
>> cdecl;<br>
>> begin<br>
>> FillChar(pxBuffer,count,value);<br>
>> Result := pxBuffer;<br>
>> end;<br>
> You need pxBuffer^ instead of pxBuffer (you want to fill the block to<br>
> which pxBuffer points, not the 4 bytes of pxBuffer itself).<br>
><br>
><br>
> Jonas<br>
> _______________________________________________<br>
> fpc-devel maillist - fpc-devel@lists.freepascal.org<br>
> <a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
_______________________________________________<br>
fpc-devel maillist - fpc-devel@lists.freepascal.org<br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</div>
</span></font></div>
</body>
</html>