[BACK]Return to patch-source_libs_paragui_src_widgets_pgwidget_cpp CVS log [TXT][DIR] Up to [local] / ports / games / asc / patches

File: [local] / ports / games / asc / patches / patch-source_libs_paragui_src_widgets_pgwidget_cpp (download)

Revision 1.1, Tue Feb 15 07:29:38 2022 UTC (2 years, 4 months ago) by kirby
Branch: MAIN

fix build and cleanup

$OpenBSD$

Fix build with newer compilers

Index: source/libs/paragui/src/widgets/pgwidget.cpp
--- source/libs/paragui/src/widgets/pgwidget.cpp.orig
+++ source/libs/paragui/src/widgets/pgwidget.cpp
@@ -1792,7 +1792,7 @@ PG_Widget* PG_Widget::GetParent() {
 	return _mid->widgetParent;
 }
 
-int PG_Widget::GetID() {
+unsigned int PG_Widget::GetID() {
 	return _mid->id;
 }