diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 16:24:45 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 16:24:45 +0500 |
| commit | cdf2832347b8fdf0389cd373c2ead0ac5d071037 (patch) | |
| tree | 96f9771aed0710899aa6cbba2a84dadfe76e996e /src/Fl_lock.cxx | |
| parent | db214d1145e46d527a46d1fc2519548d2c4d23f1 (diff) | |
wip
Diffstat (limited to 'src/Fl_lock.cxx')
| -rw-r--r-- | src/Fl_lock.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_lock.cxx b/src/Fl_lock.cxx index 8f2b2d4da..57d67766e 100644 --- a/src/Fl_lock.cxx +++ b/src/Fl_lock.cxx @@ -66,9 +66,9 @@ #ifndef FL_DOXYGEN -static constexpr int AWAKE_RING_SIZE = 1024; -Fl_Awake_Handler *Fl_System_Driver::awake_ring_ = nullptr; -void **Fl_System_Driver::awake_data_ = nullptr; +static const int AWAKE_RING_SIZE = 1024; +Fl_Awake_Handler *Fl_System_Driver::awake_ring_ = 0; +void **Fl_System_Driver::awake_data_ = 0; int Fl_System_Driver::awake_ring_size_ = 0; int Fl_System_Driver::awake_ring_head_ = 0; int Fl_System_Driver::awake_ring_tail_ = 0; @@ -202,7 +202,7 @@ bool Fl_System_Driver::awake_ring_empty() { \see Fl::awake_once(Fl_Awake_Handler, void*) */ void Fl::awake() { - Fl::system_driver()->awake(nullptr); + Fl::system_driver()->awake(0); } /** |
