X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fffs.cc;h=1ca913c54c3234710fda0cd0e9b396142c760c43;hb=6b1b72a247bf04c81292fc41af4f69c9b7f90379;hp=557504f14eb887bf5a10ca7a6c2093c05b706614;hpb=2ba2a50decb4b2f8b6b688dea495a2898124cc4f;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))