2
0
Эх сурвалжийг харах

Use LONGINT instad of SIZE, the interfaces of KernelLog and Streams are not ready yet

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8456 8c9fc860-2736-0410-a75d-ab315db34111
negelef 6 жил өмнө
parent
commit
ff2d9eccc2

+ 1 - 1
source/KernelLog.Mod

@@ -41,7 +41,7 @@ END Send;
 (** Write a string to the trace output. *)
 (** Write a string to the trace output. *)
 
 
 PROCEDURE String*(CONST s: ARRAY OF CHAR);
 PROCEDURE String*(CONST s: ARRAY OF CHAR);
-VAR len, n: SIZE; res: WORD;
+VAR len, n: LONGINT; res: WORD;
 BEGIN
 BEGIN
 	len := 0; n := LEN(s);
 	len := 0; n := LEN(s);
 	WHILE (len # n) & (s[len] # 0X) DO INC(len) END;
 	WHILE (len # n) & (s[len] # 0X) DO INC(len) END;