diff options
Diffstat (limited to 'x11-plugins/wmDownload/files/wmDownload-0.1.2a-shorten-integers.patch')
-rw-r--r-- | x11-plugins/wmDownload/files/wmDownload-0.1.2a-shorten-integers.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-plugins/wmDownload/files/wmDownload-0.1.2a-shorten-integers.patch b/x11-plugins/wmDownload/files/wmDownload-0.1.2a-shorten-integers.patch new file mode 100644 index 000000000000..9a48e8e1ce4c --- /dev/null +++ b/x11-plugins/wmDownload/files/wmDownload-0.1.2a-shorten-integers.patch @@ -0,0 +1,13 @@ +unsigned shorts are enough for libdockapp. Ought to be enough for size of widget +diff -ru wmDownload.orig/wmDownload.c wmDownload/wmDownload.c +--- wmDownload.orig/wmDownload.c 2024-04-02 06:30:58.407108657 +0000 ++++ wmDownload/wmDownload.c 2024-04-02 06:32:26.445684633 +0000 +@@ -266,7 +266,7 @@ + + int main (int argc, char **argv) + { +- unsigned int height, width; ++ unsigned short height, width; + + DACallbacks callbacks = { NULL, buttonPressCallback, NULL, NULL, NULL, NULL, NULL }; + |