Skip to content

Commit 65eb7b2

Browse files
authored
Merge pull request #1 from nanoframework/nfbot/clang-format-fix/5ec8ad90-142b-4847-aa77-bf3e8370fb56
Code style fixes for nanoframework/nf-interpreter PR#3023
2 parents 6fc83d8 + ec0756e commit 65eb7b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

targets/netcore/nanoFramework.nanoCLR/nanoCLR_native.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@ uint16_t nanoCLR_GetNativeAssemblyCount()
190190

191191
bool nanoCLR_GetNativeAssemblyInformation(const CLR_UINT8 *data, size_t size)
192192
{
193-
onst size_t requiredSize = g_CLR_InteropAssembliesCount * (sizeof(uint32_t) + 4 * sizeof(CLR_UINT16) + 128);
193+
onst size_t requiredSize = g_CLR_InteropAssembliesCount * (sizeof(uint32_t) + 4 * sizeof(CLR_UINT16) + 128);
194194
if (size < requiredSize)
195195
{
196196
return false; // Buffer too small
197197
}
198-
198+
199199
// clear buffer memory
200200
memset((void *)data, 0, size);
201201

@@ -220,6 +220,6 @@ bool nanoCLR_GetNativeAssemblyInformation(const CLR_UINT8 *data, size_t size)
220220
hal_strcpy_s((char *)data, 128, g_CLR_InteropAssembliesNativeData[i]->m_szAssemblyName);
221221
data += 128;
222222
}
223-
224-
return true; // Success
223+
224+
return true; // Success
225225
}

0 commit comments

Comments
 (0)