ALT Linux Bugzilla
– Attachment 18876 Details for
Bug 54903
Вернуть пакет Xbae (тривиальный патч)
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Приведение типов в пакете Xbae
fix.patch (text/plain), 1.32 KB, created by
Oleg Zenin
on 2025-06-23 22:38:43 MSK
(
hide
)
Description:
Приведение типов в пакете Xbae
Filename:
MIME Type:
Creator:
Oleg Zenin
Created:
2025-06-23 22:38:43 MSK
Size:
1.32 KB
patch
obsolete
>diff -Naubr xbae-4.60.4.orig/examples/tests/leak2.c xbae-4.60.4/examples/tests/leak2.c >--- xbae-4.60.4.orig/examples/tests/leak2.c 2003-06-21 13:38:46.000000000 +0400 >+++ xbae-4.60.4/examples/tests/leak2.c 2025-06-22 22:06:53.000000000 +0300 >@@ -20,7 +20,7 @@ > > XtResource resources[] = { > { "numIter", "NumIter", XtRInt, sizeof(int), >- XtOffsetOf(AppRes, numIter), XtRImmediate, 1000 }, >+ XtOffsetOf(AppRes, numIter), XtRImmediate, (void*)1000 }, > }; > > int >diff -Naubr xbae-4.60.4.orig/src/Methods.c xbae-4.60.4/src/Methods.c >--- xbae-4.60.4.orig/src/Methods.c 2006-05-26 12:57:25.000000000 +0400 >+++ xbae-4.60.4/src/Methods.c 2025-06-22 22:00:03.000000000 +0300 >@@ -1688,7 +1688,7 @@ > * The event must have occurred in a legal position > * otherwise control wouldn't have made it here > */ >- xbaeEventToRowColumn(mw, event, &r, &c, &x, &y); >+ xbaeEventToRowColumn((Widget)mw, event, &r, &c, &x, &y); > x -= mw->matrix.cell_shadow_thickness; > y -= mw->matrix.cell_shadow_thickness; > position = XmTextXYToPos(TextField(mw), x, y);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54903
: 18876 |
18877