mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-20 10:21:19 +00:00
Closes: https://bugs.gentoo.org/919443 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Part-of: https://github.com/gentoo/gentoo/pull/41663 Closes: https://github.com/gentoo/gentoo/pull/41663 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
23 lines
605 B
Diff
23 lines
605 B
Diff
Correct size of variables that are passed to library and then discarded.
|
|
Also replace sed that corrects path for library.
|
|
https://bugs.gentoo.org/919443
|
|
--- a/src/wmnetload.c
|
|
+++ b/src/wmnetload.c
|
|
@@ -37,7 +37,7 @@
|
|
#include <sys/ioctl.h>
|
|
#include <sys/time.h>
|
|
#include <unistd.h>
|
|
-#include <dockapp.h>
|
|
+#include <libdockapp/dockapp.h>
|
|
#ifdef HAVE_SYS_SOCKIO_H
|
|
#include <sys/sockio.h>
|
|
#endif
|
|
@@ -1051,7 +1051,7 @@
|
|
setshape(void)
|
|
{
|
|
Pixmap mask, pixmap;
|
|
- unsigned int h, w;
|
|
+ unsigned short int h, w;
|
|
|
|
if (DAMakePixmapFromData(backlight_off_xpm, &pixmap, &mask, &h, &w)) {
|
|
DASetShape(mask);
|