summaryrefslogtreecommitdiffstats
path: root/sys/osxvideo
diff options
context:
space:
mode:
Diffstat (limited to 'sys/osxvideo')
-rw-r--r--sys/osxvideo/cocoawindow.h2
-rw-r--r--sys/osxvideo/cocoawindow.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/osxvideo/cocoawindow.h b/sys/osxvideo/cocoawindow.h
index 340bd160..a0a4a9a0 100644
--- a/sys/osxvideo/cocoawindow.h
+++ b/sys/osxvideo/cocoawindow.h
@@ -35,7 +35,7 @@ struct _GstOSXImage;
@interface GstGLView : NSOpenGLView
{
int i_effect;
- unsigned long pi_texture;
+ unsigned int pi_texture;
float f_x;
float f_y;
int initDone;
diff --git a/sys/osxvideo/cocoawindow.m b/sys/osxvideo/cocoawindow.m
index 9b5e7b31..c90dc604 100644
--- a/sys/osxvideo/cocoawindow.m
+++ b/sys/osxvideo/cocoawindow.m
@@ -262,7 +262,7 @@
}
- (void) drawRect:(NSRect) rect {
- long params[] = { 1 };
+ int params[] = { 1 };
[actualContext makeCurrentContext];