diff options
author | Taylor Trump <MagaTailor@users.noreply.github.com> | 2017-01-05 15:22:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-05 15:22:51 +0100 |
commit | cf3e56980057fa36d01e051ab273e037115c3b0d (patch) | |
tree | 44fa8f4b9fe337087f7a7a3100fcc0a9455bab02 | |
parent | fb3a9fa80ab7eb458cf384e02e8ba91af4d03b31 (diff) | |
download | alacritty-cf3e56980057fa36d01e051ab273e037115c3b0d.tar.gz alacritty-cf3e56980057fa36d01e051ab273e037115c3b0d.zip |
Fix ARM
-rw-r--r-- | src/renderer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 81ac7fd4..10d3d838 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -1039,7 +1039,7 @@ impl ShaderProgram { let shader = unsafe { let shader = gl::CreateShader(kind); - gl::ShaderSource(shader, 1, &(source.as_ptr() as *const i8), len.as_ptr()); + gl::ShaderSource(shader, 1, &(source.as_ptr() as *const _), len.as_ptr()); gl::CompileShader(shader); shader }; |