diff options
author | Melanie | 2010-09-02 00:20:57 +0100 |
---|---|---|
committer | Melanie | 2010-09-02 00:20:57 +0100 |
commit | bbdf6cab50bb5f5486130cf1443087d1f4fb84e2 (patch) | |
tree | 25a36eb21c9c0e9657238c62ab4bbc6e5bcc9bc5 | |
parent | Allow increasing the version in system folders (diff) | |
download | opensim-SC-bbdf6cab50bb5f5486130cf1443087d1f4fb84e2.zip opensim-SC-bbdf6cab50bb5f5486130cf1443087d1f4fb84e2.tar.gz opensim-SC-bbdf6cab50bb5f5486130cf1443087d1f4fb84e2.tar.bz2 opensim-SC-bbdf6cab50bb5f5486130cf1443087d1f4fb84e2.tar.xz |
Fix cast issue
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/InventoryService/XInventoryService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs index 97af44d..fb395ec 100644 --- a/OpenSim/Services/InventoryService/XInventoryService.cs +++ b/OpenSim/Services/InventoryService/XInventoryService.cs | |||
@@ -312,7 +312,7 @@ namespace OpenSim.Services.InventoryService | |||
312 | { | 312 | { |
313 | if (xFolder.version > check.Version) | 313 | if (xFolder.version > check.Version) |
314 | return false; | 314 | return false; |
315 | check.Version = xFolder.version; | 315 | check.Version = (ushort)xFolder.version; |
316 | xFolder = ConvertFromOpenSim(check); | 316 | xFolder = ConvertFromOpenSim(check); |
317 | return m_Database.StoreFolder(xFolder); | 317 | return m_Database.StoreFolder(xFolder); |
318 | } | 318 | } |