X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fffs.cc;h=1ca913c54c3234710fda0cd0e9b396142c760c43;hb=3dc09d42abf666932a740720a1057a7edd0dbe49;hp=557504f14eb887bf5a10ca7a6c2093c05b706614;hpb=fb45fdc052b23f4b2210c71a03a14bdb5986098a;p=ardour.git diff --git a/libs/pbd/ffs.cc b/libs/pbd/ffs.cc index 557504f14e..1ca913c54c 100644 --- a/libs/pbd/ffs.cc +++ b/libs/pbd/ffs.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 Tim Mayberry + Copyright (C) 2013 Tim Mayberry This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ ffs (int x) return __builtin_ffs(x); #elif defined (COMPILER_MSVC) unsigned long index; -#ifdef WIN64 +#ifdef WIN64 if (0 != _BitScanForward64(&index, (__int64)x)) #else if (0 != _BitScanForward(&index, (unsigned long)x))