• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/assimp/0001-Fix-FBXConverter-use-proper-64-bit-constant.patch
Peter SeidererPeter Seiderer committed 25ba49518a914 Jan 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 30a2ecc7939449f235282eb6de42e367fc5b1867 Mon Sep 17 00:00:00 2001
2
From: Peter Seiderer <ps.report@gmx.net>
3
Date: Thu, 14 Jan 2016 22:13:15 +0100
4
Subject: [PATCH] Fix FBXConverter: use proper 64-bit constant
5
​
6
Use proper 64-bit constant for CONVERT_FBX_TIME(time) conversion, fixes:
7
​
8
  code/FBXConverter.cpp:2025: error: integer constant is too large for 'long' type
9
  code/FBXConverter.cpp:2026: error: integer constant is too large for 'long' type
10
  code/FBXConverter.cpp:2794: error: integer constant is too large for 'long' type
11
  code/FBXConverter.cpp:2868: error: integer constant is too large for 'long' type
12
  code/FBXConverter.cpp:2878: error: integer constant is too large for 'long' type
13
  code/FBXConverter.cpp:2888: error: integer constant is too large for 'long' type
14
​
15
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
16
---
17
 code/FBXConverter.cpp | 2 +-
18
 1 file changed, 1 insertion(+), 1 deletion(-)
19
​
20
diff --git a/code/FBXConverter.cpp b/code/FBXConverter.cpp
21
index e0c6b9c..b1e9a71 100644
22
--- a/code/FBXConverter.cpp
23
+++ b/code/FBXConverter.cpp
24
@@ -67,7 +67,7 @@ namespace FBX {
25
 
26
 #define MAGIC_NODE_TAG "_$AssimpFbx$"
27
 
28
-#define CONVERT_FBX_TIME(time) static_cast<double>(time) / 46186158000L
29
+#define CONVERT_FBX_TIME(time) static_cast<double>(time) / 46186158000LL
30
 
31
     // XXX vc9's debugger won't step into anonymous namespaces
32
 //namespace {
33
-- 
34
2.1.4
35
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.