projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use ::g_rename instead of ::rename in ARDOUR::FileSource class
[ardour.git]
/
libs
/
pbd
/
ffs.cc
diff --git
a/libs/pbd/ffs.cc
b/libs/pbd/ffs.cc
index 557504f14eb887bf5a10ca7a6c2093c05b706614..1ca913c54c3234710fda0cd0e9b396142c760c43 100644
(file)
--- 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
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;
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))
if (0 != _BitScanForward64(&index, (__int64)x))
#else
if (0 != _BitScanForward(&index, (unsigned long)x))