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