[vlc-commits] macosx: avoid implicit cast of long to int

Marvin Scholz git at videolan.org
Wed Apr 25 12:41:18 CEST 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Apr 25 12:40:58 2018 +0200| [fb6d424b3615d8ed1d755789c03136829ec3f4b8] | committer: Marvin Scholz

macosx: avoid implicit cast of long to int

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fb6d424b3615d8ed1d755789c03136829ec3f4b8
---

 modules/gui/macosx/prefs_widgets.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/prefs_widgets.m b/modules/gui/macosx/prefs_widgets.m
index 694f312c53..a382dee25d 100644
--- a/modules/gui/macosx/prefs_widgets.m
+++ b/modules/gui/macosx/prefs_widgets.m
@@ -1343,13 +1343,13 @@ o_textfield = [[NSSecureTextField alloc] initWithFrame: s_rc];              \
         /* build the stepper */
         ADD_STEPPER(o_stepper, mainFrame, mainFrame.size.width - 19,
                     0, toolTip, -100000, 100000)
-        [o_stepper setIntValue: p_item->value.i];
+        [o_stepper setIntegerValue: p_item->value.i];
         [o_stepper setAutoresizingMask:NSViewMaxXMargin ];
         [self addSubview: o_stepper];
 
         ADD_TEXTFIELD(o_textfield, mainFrame, mainFrame.size.width - 19 - 52,
                       1, 49, toolTip, @"")
-        [o_textfield setIntValue: p_item->value.i];
+        [o_textfield setIntegerValue: p_item->value.i];
         [o_textfield setDelegate: self];
         [[NSNotificationCenter defaultCenter] addObserver: self
                                                  selector: @selector(textfieldChanged:)



More information about the vlc-commits mailing list