diff options
| author | Albert Krewinkel <albert@zeitkraut.de> | 2018-09-24 20:11:00 +0200 |
|---|---|---|
| committer | Albert Krewinkel <albert@zeitkraut.de> | 2018-09-24 20:11:27 +0200 |
| commit | 56fe5b559e9dbda97840a45c9f3a0713e2913bb5 (patch) | |
| tree | b366cb73f09271508f99b55eb479b1bb5cb3c2f1 /src/Text/Pandoc/Lua/Module/MediaBag.hs | |
| parent | 0272e63527e0b06644e178c51508baf1cf96afa2 (diff) | |
Use hslua v1.0.0
Diffstat (limited to 'src/Text/Pandoc/Lua/Module/MediaBag.hs')
| -rw-r--r-- | src/Text/Pandoc/Lua/Module/MediaBag.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Lua/Module/MediaBag.hs b/src/Text/Pandoc/Lua/Module/MediaBag.hs index f48fe56c5..150c06cc8 100644 --- a/src/Text/Pandoc/Lua/Module/MediaBag.hs +++ b/src/Text/Pandoc/Lua/Module/MediaBag.hs @@ -87,7 +87,7 @@ mediaDirectoryFn mbRef = do zipWithM_ addEntry [1..] dirContents return 1 where - addEntry :: Int -> (FilePath, MimeType, Int) -> Lua () + addEntry :: Lua.Integer -> (FilePath, MimeType, Int) -> Lua () addEntry idx (fp, mimeType, contentLength) = do Lua.newtable Lua.push "path" *> Lua.push fp *> Lua.rawset (-3) |
