Modify fix for previous BDSUP issue.  Change all "long" to "qint64" for consistency.