Skip to content

Commit 2f31ac5

Browse files
committed
Fix warnings for Julia v0.6
1 parent 508b786 commit 2f31ac5

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ os:
55
- osx
66
julia:
77
- 0.5
8+
- 0.6
89
- nightly
910

1011
before_install:

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ environment:
22
matrix:
33
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
44
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
5+
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
6+
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
57
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
68
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
79

src/blockmat.h.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
# TODO detect size and use bitstype because if the DLL changes and gets
55
# compiled with NOSHORTS we are screwed with the following code...
66
@static if is_windows()
7-
typealias csdpshort Cushort
7+
const csdpshort = Cushort
88
else
9-
typealias csdpshort Cint
9+
const csdpshort = Cint
1010
end
1111

1212
# begin enum blockcat
13-
typealias blockcat Cuint
13+
const blockcat = Cuint
1414
const DIAG = (blockcat)(0)
1515
const MATRIX = (blockcat)(1)
1616
const PACKEDMATRIX = (blockcat)(2)

0 commit comments

Comments
 (0)