summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-12 07:04:02 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2016-09-12 07:04:02 (GMT)
commit17d8bddfcc3daf0e4309a0409f3d57c70a12a996 (patch)
treec008f8b6c2acfd1cf2b41cd8e815f9aeea6a0caf
parentac177cd73252cd70f2139bb62df237755cb454da (diff)
downloadk9copy-17d8bddf.zip
k9copy-17d8bddf.tar.gz
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rwxr-xr-xlibk9copy/k9dvdbackup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libk9copy/k9dvdbackup.cpp b/libk9copy/k9dvdbackup.cpp
index 83c04a6..e560a1d 100755
--- a/libk9copy/k9dvdbackup.cpp
+++ b/libk9copy/k9dvdbackup.cpp
@@ -883,7 +883,7 @@ k9Vobu * k9DVDBackup::remapOffset(uint32_t _sector,uint32_t *_offset,int _dir) {
if ((vobu1 !=NULL) && (vobu2!=NULL)) {
- *_offset = abs(vobu1->newSector - vobu2->newSector) | maskOffset1 ;
+ *_offset = labs(vobu1->newSector - vobu2->newSector) | maskOffset1 ;
*_offset |= maskOffset2;
return vobu2;
}