{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/1880","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/1880/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/1880/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/1880/events","html_url":"https://github.com/tbeu/Modelica/issues/1880","id":197627920,"number":1880,"title":"ModelicaMatIO.c: Cast from pointer to integer of different size","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[{"id":506762997,"url":"https://api.github.com/repos/tbeu/Modelica/labels/bug","name":"bug","color":"ee0701","default":true},{"id":506768950,"url":"https://api.github.com/repos/tbeu/Modelica/labels/L:C-Sources","name":"L:C-Sources","color":"0000aa","default":false},{"id":506770258,"url":"https://api.github.com/repos/tbeu/Modelica/labels/P:%20low","name":"P: low","color":"ffdddd","default":false}],"state":"open","locked":false,"assignee":{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false},"assignees":[{"login":"beutlich","id":14896695,"avatar_url":"https://avatars.githubusercontent.com/u/14896695?v=3","gravatar_id":"","url":"https://api.github.com/users/beutlich","html_url":"https://github.com/beutlich","followers_url":"https://api.github.com/users/beutlich/followers","following_url":"https://api.github.com/users/beutlich/following{/other_user}","gists_url":"https://api.github.com/users/beutlich/gists{/gist_id}","starred_url":"https://api.github.com/users/beutlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beutlich/subscriptions","organizations_url":"https://api.github.com/users/beutlich/orgs","repos_url":"https://api.github.com/users/beutlich/repos","events_url":"https://api.github.com/users/beutlich/events{/privacy}","received_events_url":"https://api.github.com/users/beutlich/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/tbeu/Modelica/milestones/59","html_url":"https://github.com/tbeu/Modelica/milestone/59","labels_url":"https://api.github.com/repos/tbeu/Modelica/milestones/59/labels","id":2214862,"number":59,"title":"MSL3.2.2","description":"","creator":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":129,"state":"closed","created_at":"2016-12-25T13:02:16Z","updated_at":"2016-12-26T23:58:29Z","due_on":"2016-03-11T08:00:00Z","closed_at":"2016-12-25T13:02:16Z"},"comments":2,"created_at":"2016-12-26T23:58:29Z","updated_at":"2016-12-26T23:58:48Z","closed_at":null,"body":"**Reported by otter on 14 Jan 2016 12:53 UTC**\nDS reported that MinGW gcc reports the following warning for ModelicaMatIO.c:\n```\n../ModelicaMatIO.c: In function 'dopr':\n\n../ModelicaMatIO.c:8445:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]\n\n                 fmtint (buffer, &currlen, maxlen, (long) strvalue, 16, min, max, flags);\n```\n\n----\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/1880"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/269250173","html_url":"https://github.com/tbeu/Modelica/issues/1880#issuecomment-269250173","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/1880","id":269250173,"user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T23:58:48Z","updated_at":"2016-12-26T23:58:48Z","body":"**Comment by beutlich on 14 Jan 2016 13:02 UTC**\nHm, don't get this warning:\n```\n$ make TARGETDIR=win32\nrm -f ModelicaStandardTables.o ModelicaMatIO.o ModelicaIO.o adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o\nrm -f *.a\nrm -f ../../Library/win32/*.a\ncc -DNDEBUG -DTABLE_SHARE=1 -DDUMMY_FUNCTION_USERTAB -O3 -I\"../../C-Sources/zlib\" -c -o ModelicaStandardTables.o ../../C-Sources/ModelicaStandardTables.c\nar -ru libModelicaStandardTables.a ModelicaStandardTables.o\nd:\\mingw-4.8.1\\bin\\ar.exe: creating libModelicaStandardTables.a\ncp libModelicaStandardTables.a ../../Library/win32/libModelicaStandardTables.a\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o ModelicaIO.o ../../C-Sources/ModelicaIO.c\nar -ru libModelicaIO.a ModelicaIO.o\nd:\\mingw-4.8.1\\bin\\ar.exe: creating libModelicaIO.a\ncp libModelicaIO.a ../../Library/win32/libModelicaIO.a\ncc -DNDEBUG -DHAVE_ZLIB=1 -O3 -I\"../../C-Sources/zlib\" -c -o ModelicaMatIO.o ../../C-Sources/ModelicaMatIO.c\nar -ru libModelicaMatIO.a ModelicaMatIO.o\nd:\\mingw-4.8.1\\bin\\ar.exe: creating libModelicaMatIO.a\ncp libModelicaMatIO.a ../../Library/win32/libModelicaMatIO.a\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o adler32.o ../../C-Sources/zlib/adler32.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o compress.o ../../C-Sources/zlib/compress.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o crc32.o ../../C-Sources/zlib/crc32.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o deflate.o ../../C-Sources/zlib/deflate.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o gzclose.o ../../C-Sources/zlib/gzclose.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o gzlib.o ../../C-Sources/zlib/gzlib.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o gzread.o ../../C-Sources/zlib/gzread.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o gzwrite.o ../../C-Sources/zlib/gzwrite.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o infback.o ../../C-Sources/zlib/infback.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o inffast.o ../../C-Sources/zlib/inffast.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o inflate.o ../../C-Sources/zlib/inflate.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o inftrees.o ../../C-Sources/zlib/inftrees.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o trees.o ../../C-Sources/zlib/trees.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o uncompr.o ../../C-Sources/zlib/uncompr.c\ncc -DNDEBUG -O3 -I\"../../C-Sources/zlib\" -c -o zutil.o ../../C-Sources/zlib/zutil.c\nar -ru libzlib.a adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o\nd:\\mingw-4.8.1\\bin\\ar.exe: creating libzlib.a\ncp libzlib.a ../../Library/win32/libzlib.a\n```"}}
{"actor":{"display_login":"modelica-trac-importer"}}