Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler warnings on win32_dirent.c #1149

Closed
modelica-trac-importer opened this issue Jan 14, 2017 · 1 comment
Closed

Compiler warnings on win32_dirent.c #1149

modelica-trac-importer opened this issue Jan 14, 2017 · 1 comment
Assignees
Labels
bug Critical/severe issue L: C-Sources Issue addresses Modelica/Resources/C-Sources
Milestone

Comments

@modelica-trac-importer
Copy link

Reported by beutlich on 30 May 2013 08:29 UTC
MS VisualStudio 64-bit compilers give warnings on win32_dirent.c

win32_dirent.c(127) : warning C4244: '=': Konvertierung von 'intptr_t' in 'long', möglicher Datenverlust
win32_dirent.c(195) : warning C4267: '=': Konvertierung von 'size_t' nach 'unsigned short', Datenverlust möglich

win32_dirent.c

127:  nd->dd_handle = _findfirst (nd->dd_name, &(nd->dd_dta));
195:      dirp->dd_dir.d_namlen = strlen (dirp->dd_dir.d_name);

Migrated-From: https://trac.modelica.org/Modelica/ticket/1149

@modelica-trac-importer modelica-trac-importer added this to the MSL3.2.1 milestone Jan 14, 2017
@modelica-trac-importer modelica-trac-importer added bug Critical/severe issue L: C-Sources Issue addresses Modelica/Resources/C-Sources labels Jan 14, 2017
@modelica-trac-importer
Copy link
Author

Comment by beutlich on 30 May 2013 08:36 UTC
Resolved by c2cd27f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Critical/severe issue L: C-Sources Issue addresses Modelica/Resources/C-Sources
Projects
None yet
Development

No branches or pull requests

2 participants