Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Cast to target type when unboxing - #1086

Merged
MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:unbox
Apr 5, 2016
Merged

MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:unbox

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

Generate

intptr_t* _12 = (intptr_t*)((void **)_11+1);

instead of

intptr_t* _12 = ((void **)_11+1);

Generate
```
intptr_t* _12 = (intptr_t*)((void **)_11+1);
```
instead of
```
intptr_t* _12 = ((void **)_11+1);
```
@jkotas

jkotas commented Apr 5, 2016

Copy link
Copy Markdown
Member

LGTM

@MichalStrehovsky
MichalStrehovsky merged commit 305c3e6 into dotnet:master Apr 5, 2016
@MichalStrehovsky
MichalStrehovsky deleted the unbox branch April 5, 2016 07:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants