Browse Source

* fixed result type of StrBufSize(PWideChar) for 64 bit targets

git-svn-id: branches/cpstrrtl@25002 -
Jonas Maebe 12 years ago
parent
commit
bae3c0296e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/sysutils/sysuni.inc

+ 1 - 1
rtl/objpas/sysutils/sysuni.inc

@@ -428,7 +428,7 @@ function WideStrAlloc(Size: cardinal): PWideChar;
     inc(result,sizeof(cardinal));
   end;
 
-function StrBufSize(str: pwidechar): SizeUInt;
+function StrBufSize(str: pwidechar): cardinal;
   begin
     if assigned(str) then
       result:=cardinal(pointer(str-sizeof(cardinal))^)-sizeof(cardinal)