Merge pull request #15 from harukasan/fix/param_method

Fix method parameter type.
This commit is contained in:
Shunsuke Michii 2016-10-16 01:27:38 +09:00 committed by GitHub
commit e05d69dcb5

View file

@ -147,7 +147,7 @@ func (c *Config) Quality() float32 {
// SetMethod sets method parameter that specifies quality/speed trade-off // SetMethod sets method parameter that specifies quality/speed trade-off
// (0=fast, 6=slower-better). // (0=fast, 6=slower-better).
func (c *Config) SetMethod(v float32) { func (c *Config) SetMethod(v int) {
c.c.method = C.int(v) c.c.method = C.int(v)
} }