This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
amaya/amaya-9.1-64bits.patch
2006-02-22 22:43:30 +00:00

42 lines
1.4 KiB
Diff

--- ./Amaya/thotlib/base/structlist.c.64bits 2004-12-08 11:52:20.000000000 +0100
+++ ./Amaya/thotlib/base/structlist.c 2006-02-22 21:36:07.000000000 +0100
@@ -509,7 +509,7 @@
fprintf (fileDescriptor, " Name=NULL");
else
fprintf (fileDescriptor, "(%s %x)", pNode->ElStructSchema->SsName,
- (unsigned int)pNode->ElStructSchema);
+ (unsigned long)pNode->ElStructSchema);
}
/* ecrit l'URI associee au schema de structure */
if (pNode->ElStructSchema->SsUriName == NULL)
--- ./Amaya/thotlib/base/fileaccess.c.64bits 2005-02-23 12:46:21.000000000 +0100
+++ ./Amaya/thotlib/base/fileaccess.c 2006-02-22 21:36:07.000000000 +0100
@@ -684,7 +684,7 @@
while (ptr != NULL);
/* the length of the directory part */
- i = ((int) (oldptr) - (int) (text)) / sizeof (char);
+ i = ((long) (oldptr) - (long) (text)) / sizeof (char);
if (i > 1)
{
strncpy (aDirectory, text, i);
--- ./Amaya/thotlib/dialogue/font.c.64bits 2005-02-23 12:46:21.000000000 +0100
+++ ./Amaya/thotlib/dialogue/font.c 2006-02-22 21:36:07.000000000 +0100
@@ -889,7 +889,7 @@
#endif /* _WIN_PRINT */
break;
case UnPercent:
- i = val * (int) pAb;
+ i = val * (long) pAb;
dist = (i + 50) / 100;
break;
case UnAuto:
@@ -966,7 +966,7 @@
else
{
i = val * 100;
- dist = i / (int) pAb;
+ dist = i / (long) pAb;
}
break;
case UnAuto: